Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Temporary Tables

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
chkiran2

New User


Joined: 24 Jun 2004
Posts: 25
Location: Gurgoan

PostPosted: Wed Jun 30, 2004 10:20 am    Post subject: Temporary Tables
Reply with quote

Hi
If am creating a temporary table uisng Select * into tablename. Are the column names same with the original table so that I can use the values. Also can I create a temporary table with a specifc set of columns. In so how to do that?
Back to top
View user's profile Send private message
References
PostPosted: Wed Jun 30, 2004 10:20 am    Post subject: Re: Temporary Tables Reply with quote

priya

Moderator


Joined: 24 Jul 2003
Posts: 624
Location: Bangalore

PostPosted: Sat Jul 03, 2004 12:22 am    Post subject: Re
Reply with quote

use LIKE option in CREATE table command.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1