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 > Microsoft SQL Server > is there an equivalent table copy command in ms sql a la oracle?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-04, 18:43
testmonger testmonger is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
Question is there an equivalent table copy command in ms sql a la oracle?

is there a command in ms sql server 2000 equivalent to this oracle table copy command?

create table myTable_bak as select * from myTable;

Last edited by testmonger; 04-15-04 at 18:46.
Reply With Quote
  #2 (permalink)  
Old 04-15-04, 19:04
nanadmin nanadmin is offline
Registered User
 
Join Date: Jan 2004
Posts: 35
I guess you can do it as
select * into table1 from table2 which is a bulk copy.
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