Often I find myself wanting to insert all columns except the IDENTITY column into a table, or select all columns apart from one.
I wonder if there's something in SQL Server like:
SELECT * EXCEPT SomeColumn FROM SomeTable
?
Often I find myself wanting to insert all columns except the IDENTITY column into a table, or select all columns apart from one.
I wonder if there's something in SQL Server like:
SELECT * EXCEPT SomeColumn FROM SomeTable
?