Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Adding a New Date Column

$
0
0

This is probably simply answered, but I can't find it on the web...

I'm importing data from an existing Excel file, and I need to add a few columns using the Derived Column Transformation tool. As I add strings, I simply put double quotes and it types tehm fine; numerics, I just put 0 and, again, they type fine.

But, I don't know how to put in a date to get it to type as DT_DATE. I tried "0000-00-00," '0000-00-00,' and 0000-00-00, but they all error out, unable to parse.

What do I put in the Expression field on the tool to get it to initialize the column as DT_DATE?

Thanx!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>