SQL SELECT INTO is used to create a table from an existing table by copying the contents of the current table to the new table. The critical point to note here is that the column and data type of column must be the same. SELECT INTO copies data from one table into a new table. SELECT INTO creates a new table located in the default filegroup.
See the following syntax.
Select column(s)
INTO new_table
from old_table_name where(condition).
#sql #sql select into #select into