Any Reason why the Query
"CREATE TABLE AS" is not working in sql server 2005. I am trying to create a table from the result return of a query.
I am using the simple format
CREATE TABLE TABLE_NAME AS select * from table1
it keeps giving me this error
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'as'.
"CREATE TABLE AS" is not working in sql server 2005. I am trying to create a table from the result return of a query.
I am using the simple format
CREATE TABLE TABLE_NAME AS select * from table1
it keeps giving me this error
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'as'.