Wondering if there is a way to insert a row into a table from another, with exception of one column?
This is of course easy with a limitied amount of columns, but gets k
For SQL Server, the syntax would be:
insert into TargetTable (col1, col2, col3, ...) select getdate(), col2, col3, ... from SourceTable
SQL Server can generate a column list for you. Right click the table name, and choose Script as -> Select -> To New Window.
Script as -> Select -> To New Window