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 > IDS 9 - Copy data from one table to another

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-09, 16:10
skisalomon77 skisalomon77 is offline
Registered User
 
Join Date: May 2008
Posts: 21
IDS 9 - Copy data from one table to another

I want to make a copy of an existing table using IDS 9. This is how I would do it in Oracle. I would create a new table and select all data from the original table into my newly created table.

CREATE TABLE new_table AS SELECT * FROM old_table

Any ideas how I can do the same with IDS 9?
Reply With Quote
  #2 (permalink)  
Old 04-17-09, 04:17
rootdbs rootdbs is offline
Registered User
 
Join Date: Feb 2009
Posts: 51
1. create table table_new
2. insert into table_new select * from table_old
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