hoseam (2/7/2014)
HiIs there a way I can:
INSERT INTO TableA
SELECT * FROM TableB
but exclude one column from TableB?
My TableB has ID which is IDENTITY(1,1), I want to select everything to TableA except the ID
easily, but you have to explicitly name the columns.
INSERT INTO TableA(Column1,Column2,otherColumns)
SELECT Column1,Column2,otherColumns
FROM TableB
Lowell