In Oracle often we are using
CREATE TABLE TABLE_B AS SELECT * FROM TABLE_A;
But in SQL Server, this syntax does not work. Use
SELECT * INTO TABLE_B FROM TABLE_A;
COMMIT;
instead.
Hope this helps
Martin
In Oracle often we are using
CREATE TABLE TABLE_B AS SELECT * FROM TABLE_A;
But in SQL Server, this syntax does not work. Use
SELECT * INTO TABLE_B FROM TABLE_A;
COMMIT;
instead.
Hope this helps
Martin