Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
10.9.1.0
-
None
-
Normal
-
Repro attached
-
Deviation from standard
Description
According to the 2008 SQL Standard, part 2, section 4.2.1, the = and <> operators should be supported when comparing CLOBs. The following script shows this defect:
connect 'jdbc:derby:memory:db;create=true';
create table t( a clob, b clob );
select * from t where a = b;
select * from t where a <> b;
A partial workaround would be to cast the CLOBs as VARCHAR( 32672 ). This would work for small CLOBs.
Attachments
Issue Links
- relates to
-
DERBY-6185 Query against view with "where name LIKE 'Col1' ESCAPE '\' " failed
- Closed
-
DERBY-5235 Remove the artificial limit on the length of VARCHAR values, allowing them to be java.lang.Integer.MAX_VALUE long
- Open