in reply to SQL Server CAST problem using CASE with DBD::ODBC
Since this is a static query, that Query Analyzer and Perl have different results is surprising. Try rewriting the SQL to eliminate the CASE, or use the other form of the CASE. CASE ... END AS is_complete is the same and might cause problems. Also, you might want to parse the date in Perl.
|
|---|