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
 SQL Server Development (2000)
 SQL Server equivalent of "CREATE TABLE AS..." ??

Author  Topic 

AdamB
Starting Member

4 Posts

Posted - 2000-10-13 : 09:07:36
Hi all,

I'm new to this list, so this may have been asked before but I would appreciate any help.

In Oracle it is possible to do the following "CREATE table tablename as SELECT * FROM ...", does SQL Server have similar functionality ? What I am trying to do is create a a temporary table which is made up of an identity column together with a subset of the columns in another table. Before you ask, I don't know what the other table is going to be when I create the temporary one so I can't hard code it.

Thanks in advance,

Adam Brunt

   

- Advertisement -