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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message during execution of the DTS Package

Status
Not open for further replies.

christ1

Technical User
Jun 17, 2004
3
GB
I have created a DTS package which contains a datetime field. When I execute the package I get the following error message reference to the incorrect date type.

The number of failing rows exceeds the maximum specified.
TransformCopy 'DirectCopyXform' conversion error: General conversion failure on column pair 9 (source column 'dispatch' (DBTYPE_DBDATE), destination column 'dispatch'(DBTYPE_DBTIMESTAMP)).

The 'dispatch' column is the datetime column I am having the problem with.
 
What is the format of the date you are trying to import?
yyyymmdd hh:mm:ss should always work. For any other date you may have a format problem (dd/mm - mm/dd) or out of range date. SQL Server doesn't accept dates before 1752.
Or maybe just invalid dates.

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top