I have an ETL package that takes data from an Excel spreadsheet and loads it into a SQL table. It is working fine and now I want to add a column to the table that stores the date the record was created. I have added a datetime field, CreateDate,
to the table and have added a derived column to my package. The expression for the new column is: (DT_DBTIMESTAMP)GETDATE() When I run the package, the CreateDate field shows as NULL. Any thoughts on this one, please?
↧