I am using SQL Server 2008 R2. I am creating a table using
Select..
Into...
From
where the From
is actually 2 joined tables.
Will the resultant table have the indexes of the original tables?
I am using SQL Server 2008 R2. I am creating a table using
Select..
Into...
From
where the From
is actually 2 joined tables.
Will the resultant table have the indexes of the original tables?
Well, you could try this yourself and see. But the answer is no. It will have a table schema consisting of the columns and types in the Select clause, but no indexes, foreign keys or anything from the source table(s).