Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
2.00/5 (3 votes)
See more:
Hello,



A stored procedure has generated a temporary table (i.e #TEMP_TABLE) IN MS SQL SERVER.

What are the steps in using the temporary table in a dataset to feed into visual studio 2010 native report.wizard .


Any credible website etc etc

Thanks
Posted
Updated 18-Sep-14 9:44am
v3

1 solution

After the table is populated select its contents in the stored procedure:

SELECT * FROM #TEMP_TABLE;

Executing the stored procedure will return the table contents. Your report source will then be "EXEC MyStoredProc" instead of a select query.
 
Share this answer
 
v2
Comments
Member 10744248 18-Sep-14 19:43pm    
USING VS2010

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900