Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssis transform task 1

Status
Not open for further replies.

chunkydrew65

Programmer
Jun 27, 2007
1
US
I have a SQL 2000 dts package which I'm trying to convert to a SQL 2005 SSIS package. It seems simple enough, but I can't figure it out. I have several date fields in a fixed-width text file which are in mainframe yyyymmdd format. I need to convert them into SQL MM/dd/yyyy format. In 2000, I used left$, mid$ and right$ in vbscript to do the conversion, then concatenated them together with '/' between. I just cannot find any documentation how to do the same thing in 2005. Can anyone help me? Do I need a transform task, a script task, a combination of both, or something else?
 
In your Data Flow task, you can add a Derived Column task, and use and expression to create your date field.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top