Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Stored Procedure & Dataset with no columns
Message
De
16/04/2013 18:23:20
 
 
À
16/04/2013 14:25:28
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01571117
Message ID:
01571152
Vues:
33
>Hi,
>
>I have a dynamic sql stored procedure that I have created to create a cross tab report. Of course, as the columns are dynamically created, when creating a tableadapter in a dataset against this stored procedure, I won't get any columns available.
>
>How do I go about this? Is the only way to hard code the column names and do away with the dynamic sql?

Frank

You can write a query that will create a dataset that you can use for the your report.
Then you can fill the data table with dynamic SQL if you want.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform