I have two tables in my database, where my second table has one extra column "date" and I want to copy my first table data to second with current date
so I tried this SQL SERVER query INSERT INTO table2 SELECT * FROM table1, GETDATE();
and I get an error invalid object name 'GETDATE'.