Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Make copies of tables Using the INTO

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-02-26 : 07:37:47
Terry writes "Is it possible to create copies of more than one table at a time with SQL

this makes one copy

SELECT *
INTO InvoiceCopy
FROM Invoices

* I Need this file to also make copies of the
Vendors table as VendorCopy.

any suggestions?"

nr
SQLTeam MVY

12543 Posts

Posted - 2003-02-26 : 09:52:27
Nope - has to be two statements

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -