MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 15th, 2004, 12:47 AM
vrtata vrtata is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Hyderabad, India
Posts: 19 vrtata User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 26 sec
Reputation Power: 0
Unhappy TempDB Issue

My ASP.NET application requires me to create various temporary tables in TEMPDB. There is a problem that I am facing for which I need a solution badly.

There is a class which creates a temporary table in TEMPDB.
There is another class which needs to use this temporary table.

The issue is once the first class is exited or the connection to the database is closed, the temporary table vanishes and there is a runtime error thrown by the second class as it cannot find the temporary table.

Is there any way I can persist the tables in TEMPDB for subsequent operations?

Any help or clue in this regard would be a major help

Reply With Quote
  #2  
Old September 15th, 2004, 04:18 PM
timseal timseal is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Philadelphia
Posts: 8 timseal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you could persist them, they wouldn't be temporary.
Do you _have_ to use tempdb? Is this some ASP.NET idiosyncracy or can you use a different design?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > TempDB Issue


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 1 hosted by Hostway