Default Value Getdate()

  • My SSIS package imports a few flat files into one table.

    In the table i've got a column LoadDate with default getdate().

    When I run the package everything imports properly. But LoadDate is null.

    Is there a setting in SSIS that i have overlooked?

    I'm using OleDb Destination.

     

    Thank you

    Alex S
  • Make sure your package is not referencing the "loaddate" column in it's update/insert statement.  Exclude that column and it should work as expected.

  • JLK thanks for the response.

    Actually it was the Data Access Mode in OLE DB Destination

    Mine was set to "Fast Load" method (Bulk Load) which ignores Defaults.

    When i changed it to Table Or View. the LoadDate column is now populated.

    Thanks

     

    Alex S

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply