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)
 creating a table from a select statement

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-20 : 09:43:34
Peter writes "I am looking for the SQL server equivalent of the following oracle comand:

create table foo2 as select * from foo;

Any help much appreciated

Peter"

Arnold Fribble
Yak-finder General

1961 Posts

Posted - 2002-03-20 : 10:47:54
Wild guess:

SELECT *
INTO foo2
FROM foo


Go to Top of Page
   

- Advertisement -