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 > Ver. 8 indexes and runstats on global temp tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-14-04, 17:31
robbierob69 robbierob69 is offline
Registered User
 
Join Date: Jul 2004
Location: Kansas
Posts: 5
Exclamation Ver. 8 indexes and runstats on global temp tables

By reading this forum, I now understand that you can create an index on a global temporary table in Version 8. Now I need to know how to runstat the global temporary table after I create the index and insert the data into it.

Last edited by robbierob69; 07-14-04 at 18:12.
Reply With Quote
  #2 (permalink)  
Old 07-15-04, 01:40
Tank Tank is offline
Registered User
 
Join Date: Feb 2004
Location: Copenhagen
Posts: 220
Arrow Something like this

db2 => declare global temporary table session.t_test ( v_alder char (1))
DB20000I The SQL command completed successfully.
db2 => commit
DB20000I The SQL command completed successfully.
db2 => runstats on table session.t_test
DB20000I The RUNSTATS command completed successfully.
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
Reply With Quote
  #3 (permalink)  
Old 07-15-04, 09:16
robbierob69 robbierob69 is offline
Registered User
 
Join Date: Jul 2004
Location: Kansas
Posts: 5
thanks for your help, it is much appreciated
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