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!

convert informix date with smaller precision on fractional time

Status
Not open for further replies.

Andretix

Programmer
Sep 15, 2003
6
US
I am trying to migrate an informix database to sql server. I ran the dts and it returns with an error stateing that it cannot recognize the date format. the reason is because informix has a precision of 5 digits to the left of the decimal point for fractional time, where sql server only uses 3.

Does anyone know how to convert a date with fractional time to sql server format.
 
YEAR TO FRACTION(3)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top