Archive for the 'SSIS/DTS' Category

Combining Date and Time in DTS To Make a DT_DBTIMESTAMP datetime

November 25 2008   Leave a Comment   

I was recently dealing with importing a DBISAM (Btrieve) database to SQL Server, which had separate date and time columns where I wanted to import a DateTime.  Using the ODBC driver and a DataReader data source, it was returning the date as the DT_DBTIMESTAMP type and the time as a DT_I8 long integer.
I tried using [...]

Leave a Comment

Creating GUID Derived Column in DTS

November 25 2008   Leave a Comment   

If you want to add a constant GUID to a table during a DTS transformation, it’s a little tricky.  Here’s the solution.
Use the Derived Column transformation in order to add a new column.  For the formula, use the GUID surrounded by double quotes.  The trick is that you MUST include the curly braces, like so:
“{B83030CF-EC5A-45ca-BE2D-BCFCC2A85034}”
Then [...]

Leave a Comment
 
     
Copyright © 2009 All Rights Reserved. Powered by WordPress 2.7 Subscribe to RSS