Create table using select query in SQL Server -
Is there a way to create a new table based on a SELECT query in SQL Server?
I do not want to enter all the fields manually (table query must be generated automatically based on the field).
I have already tried:
create table new_table AS (select from ...); But this is not working.
I had to nick the column in the selection, but I suppose that saves your current query field surname If they do not have the name. Select Select from 'select' 'B' [Test]) from #tempabc and select from #tempabc.
Comments
Post a Comment