Ok... at least i finally found some direction now.
I turned on ODBC tracing and found this error:
mydb 62c-630 EXIT SQLBindParameter with return code -1 (SQL_ERROR)
HSTMT 05223A20
UWORD 8
SWORD 1 <SQL_PARAM_INPUT>
SWORD 9 <SQL_C_DATE>
SWORD 9 <SQL_DATE>
SQLULEN 0
SWORD 0
PTR 0x06394428
SQLLEN 0
SQLLEN * 0x00000000
DIAG [S1C00] [Microsoft][ODBC SQL Server Driver]Optional feature not implemented (0)
mydb 62c-630 EXIT SQLBindParameter with return code -1 (SQL_ERROR)
HSTMT 05223A20
UWORD 8
SWORD 1 <SQL_PARAM_INPUT>
SWORD 9 <SQL_C_DATE>
SWORD 9 <SQL_DATE>
SQLULEN 0
SWORD 0
PTR 0x06394428
SQLLEN 0
SQLLEN * 0x00000000
DIAG [S1C00] [Microsoft][ODBC SQL Server Driver]Optional feature not implemented (0)
To copy to clipboard, switch view to plain text mode
This led me to this thread:
http://www.mydatabasesupport.com/for...plemented.html
where it talks about specific date values not being able to bind. Specifically DATE and TIME. DATETIME should work though, I think.
Does anyone have any further input on how to correct this or work around this error?
Bookmarks