Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored proc sql server
Message
From
13/10/2004 09:03:00
 
 
To
13/10/2004 08:30:33
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00950845
Message ID:
00951014
Views:
18
Randy,

First, if you handle the temp table correctly, you don't need to worry too much about the name being unique. Temp tables (ones with a single '#' prefix) are scoped to the current connection. So long as you select into temp tables called #TEMPTABLEA and #TEMPTABLEB, and then drop the tables at the end of your stored proc, you should be OK. I've done this before without any difficulty.

I'd be careful about scrolling through a cursor with a large # of rows. Cursors are great for relatively small amounts of data, but pose a performance problem when they get larger.

If you want to post the raw queries you're have, either I or someone else up here might be able to lend you a hand on what's the best way to tackle the situation.

Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform