468,770 Members | 2,508 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,770 developers. It's quick & easy.

create table from another table


under MSSQL8 doing this "create table tblA as ( select Name from tblB );"
results in error 156 (wrong syntax near AS keyword). What is my mistake?

thanks and regards
Jul 23 '05 #1
1 13174
See SELECT in Books Online:

select Name
into dbo.tblA
from dbo.tblB


Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Wolfgang Kreuzer | last post: by
2 posts views Thread by terence.parker | last post: by
1 post views Thread by Dave | last post: by
3 posts views Thread by equip200 | last post: by
8 posts views Thread by ASP Yaboh | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.