Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using asp script to retrieve data from sql stored proceedure 1

Status
Not open for further replies.

ToddF

Programmer
Oct 17, 2002
5
US
when retieving data from sql db using asp script on a web page, I can use a stored procedure with no problem until I use a temp table in the stored procedure. If I do this I get an asp error noting the data source is closed.

Any ideas on how to make this work?
 
Make sue you include the following line at the start of the stored procedure. It will inhibit the generation of ROWS AFFECTED messages when inserting into the temp table. Those messages can cause problems in ADO connections.

SET NOCOUNT ON If you want to get the best answer for your question read faq183-874 and thread183-468158.
Terry L. Broadbent - DBA
SQL Server Page:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top