You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2011/05/19 18:30:47 UTC
[jira] [Created] (DERBY-5241) The = and <> operators should be
supported on CLOBs.
The = and <> operators should be supported on CLOBs.
----------------------------------------------------
Key: DERBY-5241
URL: https://issues.apache.org/jira/browse/DERBY-5241
Project: Derby
Issue Type: Bug
Components: SQL
Affects Versions: 10.9.0.0
Reporter: Rick Hillegas
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5241) The = and <> operators should be
supported on CLOBs.
Posted by "Mamta A. Satoor (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mamta A. Satoor updated DERBY-5241:
-----------------------------------
Urgency: Normal
Labels: derby_triage10_9 (was: )
> The = and <> operators should be supported on CLOBs.
> ----------------------------------------------------
>
> Key: DERBY-5241
> URL: https://issues.apache.org/jira/browse/DERBY-5241
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.9.0.0
> Reporter: Rick Hillegas
> Labels: derby_triage10_9
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira