September 1, 2005 at 1:40 am
i have one sp which iam calling from an asp page, previously the sp had a "catlst" table
now i have replace that catlst table with
#catlst table, to avoid lockings and other multiuser issues
but when i fire that stored procedure in query analayzer, it shows the resultset
but when iam using that sp from an asp page, no resultset are getting displayed
recordset ado is not understanding the resultst from a temp table
hint content in sp
---
select * from #catlst
---
what to do ?
<a href="http://www.websolsoftware.com"> For IT jobs click here</a>
*Sukhoi*[font="Arial Narrow"][/font]
September 1, 2005 at 3:01 am
Can you explain the error that you are getting from the asp page.
September 1, 2005 at 3:28 am
no error message, but the recordset is not getting populated with the records
<a href="http://www.websolsoftware.com"> For IT jobs click here</a>
*Sukhoi*[font="Arial Narrow"][/font]
September 2, 2005 at 6:28 am
make sure SET NOCOUNT ON is at the top of your stored procedure; if it's not there, your ADO recordset may be getting the results of
"(45 rows affected)" or something similar from within your proc before your final
select * from #catlst
other than than, post the actual code of the SP and we might be able to see where you are having the issue.
Lowell
September 2, 2005 at 6:47 am
thanks for answering, but the reason was
i had drroped the table after use
select * from #catlist
drop #catlst
that was very stupid
<a href="http://www.websolsoftware.com"> For IT jobs click here</a>
*Sukhoi*[font="Arial Narrow"][/font]
September 2, 2005 at 7:05 am
Dropped it after the insert or after the select??
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply