![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- I am migrating data from mainframe to SQL Server 2000. The mainframe has a utility that dumps all the datatables in the mainframe database as .csv files to a windows system. There is another utility that gives me the schema for each datatable. I upload these .csv files to SQL server using the DTS wizard, where I transform the text data to the required datatype using a sql Create Table statement that I generate out of the schema, for that table. All the datatypes other than DATETIME work perfectly. When I specify the datatype as datetime for a particular column, DTS fires an error saying that it could not convert the said value to "datetime" from "string". My "datetime" values in the .csv are like "15DEC00:22:30". Is there any way to convert this into datetime within the DTS wizard itself? If so, how? tia, Rajesh . |
![]() |
| Thread Tools | |
| Display Modes | |
| |