January 7, 2005 at 9:19 am
Exception Error: 8114, Severity: 16, State: 2 Mas500 Application Interface SSSI 1828 90 2005-01-05 14:16:15.230
When we look it up in SQL Server help, it indicates that maybe a table in the in database has a date outside the SQL server date range (see below).
Error 8114Severity Level 16
Message Text
Error converting data type %ls to %ls.
Explanation
If the error text refers to both DBTYPE_DATE and datetime, respectively, this error message indicates that a DBTYPE_DATE OLE DB data type column from a remote table could not be converted to a datetime value in Microsoft® SQL Server™. The DBTYPE_DATE column most likely has a value outside the range supported by the datetime data type (datetime values must be from January 1, 1753, through December 31, 9999). Because the range of values of the DBTYPE_DATE data type is larger than that of the SQL Server datetime data type, such errors can occur if the column contains values outside of the range supported by SQL Server.
Action
Remove the remote table column of DBTYPE_DATE data type from the query select list or predicate list.
Richard D. Cushing
Sr. Consultant
SYNGERGISTIC SOFTWARE SOLUTIONS, LLC
January 9, 2005 at 2:49 am
Take a look at the Language setting at the server level, it determines the date format. US date format is month before day: today is 1/9/2005 or 2005-01-09. I notice in your question you are using day first.
Also, is your import process using DTS? If so, check to see if any transform formatting the dates is defined that may be incorrect.
The error message is not saying that a value in the database is out of range, it is saying that a value you are trying to import is out of range.
Aunt Kathi Data Platform MVP
Author of Expert T-SQL Window Functions
Simple-Talk Editor
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply