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)
 create table using select

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-12-09 : 08:55:01
Ashok writes "I want to create a new table from select literals,just like as
"Create table A as select * from B ", this possible in SQL or tell me syntax for the above"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2004-12-09 : 08:55:29
The equivalent in T-SQL would be:

SELECT * INTO A FROM B

Books Online will have more details.
Go to Top of Page
   

- Advertisement -