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 > DB2 > Inserts ::TMP in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-07-06, 17:41
Archana Kodali Archana Kodali is offline
Registered User
 
Join Date: Mar 2006
Posts: 1
Inserts ::TMP in DB2

Hi all,

What does the below Insert statement do
I mean whats the Improtance of ::TMP here???

INSERT INTO XXX_YYY :: TMP
COLUMNS (.............)

after executing the above Insert in a batch program, when I see the XXX_YYY table there is no row, but when I read the XXX_YYY with ::TMP it gives me data.
Is ::TMP a mirror of the original table??
If So, do we need another job to update the data to original table?
'coz I cant see the changes on the screen as no data is available in XXX_YYY.

Thanks in advance
Regards
Archana
Reply With Quote
  #2 (permalink)  
Old 06-08-06, 14:39
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
Looks like somebody created a table using "XXX_YY::TMP"; (ie. tablename in quotes) If it is OK, you can rename the table to XXX_YY. As to the significance of TMP, only the person who created it and maybe the almighty know it.
__________________
mota
Reply With Quote
  #3 (permalink)  
Old 06-08-06, 14:55
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
Please ignore my previous post; db2 creates a table "xx::yy"; i am not able to create a table xx::yy.
__________________
mota
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