Subject: | CLOB Query returns undef when CLOB text value is empty string |
Date: | Wed, 9 Aug 2006 14:03:39 -0400 |
To: | <bug-DBD-ODBC [...] rt.cpan.org> |
From: | "Beaudet, David P." <D-Beaudet [...] NGA.GOV> |
[ select myclob from mytable where othercolumn = 12345 ]
where the myclob value is empty string ('') rather than NULL
results in an undefined value being returned for the column instead of
the empty string, effectively making it indistinguishable from cases
where myclob is NULL.
I'm using UnixODBC on Fedora Core 5 with SQL Server 2000 backend.
------------------------------------------------------------------------
-----------
Dave Beaudet
d-beaudet@nga.gov
(202) 312-2755
------------------------------------------------------------------------
-----------
"There is no way to peace. Peace is the way."