Reputation: 15
Select ISO_2_LETTER_CODE
from #TempTable
INTO ODBCTest
But i keep getting error:Incorrect syntax near the keyword 'INTO'.
Upvotes: 0
Views: 786
Reputation: 11
The syntax for SELECT INTO is:
SELECT Column1, Column2, Column3, INTO Table2 FROM Table1
So The syntax would be:
SELECT ISO_2_LETTER_CODE INTO ODBCTest FROM #TempTable
Upvotes: 1
Reputation: 48392
I think your syntax is wrong. Try this:
Select ISO_2_LETTER_CODE
INTO ODBCTest
From #TempTable
Upvotes: 1