If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > basic temp table questions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-06, 06:26
spjansen spjansen is offline
Registered User
 
Join Date: Aug 2006
Posts: 15
basic temp table questions

hello,
I am pretty new to informix, please excuse any dumb question
Our admin is not at hand and I want to try some statements that use temp tables, what I have never tried before. Before I run these statements I would like to know what the DB does with the temporary tables after the statements are executed. Are the tables deletet automatically or do I have to drop them at the end of my session?
What happens if there is not enough space for the temp table? Can I do any harm to our server with my temp table tests?

best regards,
sven
Reply With Quote
  #2 (permalink)  
Old 08-23-06, 06:33
intarsplienis intarsplienis is offline
Registered User
 
Join Date: Aug 2006
Location: Riga, Latvia
Posts: 17
Temporary tables are deleted automaticaly after user session is disconnected or you can use "drop table temptablename" after temp table creation

Informix Administrator can define temporary dbspace for temporary tables or if these temporary dbspaces does not exists, engine places them in root dbspace, but it is not good solution, because rootdbspace is critical dbaspace.
__________________
www.database.lv
Reply With Quote
  #3 (permalink)  
Old 08-23-06, 08:33
spjansen spjansen is offline
Registered User
 
Join Date: Aug 2006
Posts: 15
Thank you for the fast reply.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On