![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a query that runs against a linked server (tables are in dBase). When I run a simple select statement against one of the tables, I get an error: "Error converting data type DBTYPE_DBTIMESTAMP to datetime" Is there a way of tracing which record has this bad data in it? I'm running SQL SERVER 2008 R2 |
#3
| |||
| |||
|
|
Jerry Haynes (JerryHaynes (AT) discussions (DOT) microsoft.com) writes: I have a query that runs against a linked server (tables are in dBase). When I run a simple select statement against one of the tables, I get an error: "Error converting data type DBTYPE_DBTIMESTAMP to datetime" Is there a way of tracing which record has this bad data in it? I'm running SQL SERVER 2008 R2 Does DBBASE provide something similar to convert, so that you can receive ^^^^^^ |
|
the data as text? The you can use the isdate() function to find the bad dates in it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |