Microsoft
Software
Hardware
Network
Question : Error Converting data type DBTYPE_DBDATE to date
Trying to import ODBC database into new SQL 2008 database. Specific columns in certain tables are giving the following error.
Error converting data type DBTYPE_DBDATE to date.
using the query
SELECT CONVERT(varchar(50),LastDa
teNoActivi
ty)
From OPENQUERY(eagle, 'SELECT LastDateNoActivity FROM AR_CUSTOMER')
The column fields are essentially null and show 0000-00-00 when viewing the column.
When using Access to query the same Table and column I get a result 11/30/1899 for the date.
I can't figure out why the SQL query won't allow for 0000-00-00 to covert to a null value.
Answer : Error Converting data type DBTYPE_DBDATE to date
TRANSFORM(nSales,'@ 999,999,999.99')
Random Solutions
Bak File
What education path should I take?
How to restart Postgres database?
Raising an event
GPO for Printer Preferences not applying to Windows 7 clients
Which version of Novell Client should I use when attaching Windows 2003 to a Netware 4.11 server?
With an Intel I7-920 CPU -- am I wasting money buying DDR3 1600 RAM
Form seems like it is hang during Directory.Getfiles on a large directory structure.
Interpreting Wiring Diagram
DNS resolution across domains