Primarily I use Oracle, but for this particular project, I'm using SQL Server. When I want to copy an Oracle table through code, I say
But, SQL Server gives me a syntax error. How do you do this in SQL Server language?
Code:
create table tablename_bak
as select * from tablename;