Is there a way to create a new table based on a SELECT query in SQL Server ?
I do not want to manually enter all the fields (the table should be auto generated based on the fields in the query).
I already tried :
CREATE TABLE new_table AS (SELECT * FROM ...);
but it did not work.