Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 26th, 2003, 07:04 AM
ykhanvilkar ykhanvilkar is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 1 ykhanvilkar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Global Temp Table Drop problem

Hi,

I am facing a strange problem with MS SQL server.
I have one Stored Proc named MyChildSP, which is being called from another stored procedure name MyParentSP. Now I have some data in the temp table ##CurVal, which is created in MyParentSP stored proc. The data in this table is being used the MyChildSP stored proc (Since this is a global temp table, we can use it among different stored proc.).

Now, when I execute the MyParentSP stored proc from SQL Server Qry analyser, it wroks fine.

But .. but ... but.......

I execute MyParentSP stored proc using the ADODB command object and fetch the result in the ADODB recordset object. Now, there is an error while playing with the recordset object. In this case the Drop table commands in the MyParentSP stored proc are not executed. Can anyone tell me why is this happening ? Since the SP is executed and the records are already fetched in the recordset object.

(I have tested by inserting the values in the user table as the control moves in the MyParentSP stored proc.)

Please let me know if anyone has an explanation to this ASAP.

Thanking you in advance.

Cheers
Yogesh

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Global Temp Table Drop problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway