I am using MS SQL Server 2008 R2 and I need to have a cell in each row with the date and time of when the row was inserted in the database. Now as I want to script and then load the database in MS SQL Server 2005 I Cannot use datetime or date so I tried to use getdate() function in the Computed Column Specification property. Can anyone please help me.
Thanks
Jean Claude, here is a complete example.
Code
Results
You should also research the new datetime data types and the SYSDATETIME() function.