Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Stored Procedure & Dataset with no columns
Message
From
16/04/2013 18:23:20
 
 
To
16/04/2013 14:25:28
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01571117
Message ID:
01571152
Views:
34
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform