simon.proctor has asked for the wisdom of the Perl Monks concerning the following question:
I split it over a few lines for readability.DBD::ODBC::st execute failed: [Microsoft][ODBC SQL Server Driver] Invalid character value for cast specification (SQL-22018)(DBD: st_execute/SQLExecute err=-1)
Thanks in advance for any help, suggestions.select ID, project_ID, title, details, DATEPART(dd, date_expected), DATEPART(mm, date_expected), DATEPART(yyyy, date_expected), DATEPART(dd, date_completed), DATEPART(mm, date_completed), DATEPART(yyyy,date_completed), is_complete = case when date_completed is null then 0 else 1 end from MILESTONES where ID = 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SQL Server CAST problem using CASE with DBD::ODBC
by matija (Priest) on Mar 09, 2004 at 12:26 UTC | |
|
Re: SQL Server CAST problem using CASE with DBD::ODBC (invisible)
by tye (Sage) on Mar 09, 2004 at 17:57 UTC | |
|
Re: SQL Server CAST problem using CASE with DBD::ODBC
by iburrell (Chaplain) on Mar 09, 2004 at 20:00 UTC | |
|
Re: SQL Server CAST problem using CASE with DBD::ODBC
by EdwardG (Vicar) on Mar 10, 2004 at 18:07 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |