db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5241) The = and <> operators should be supported on CLOBs.
Date Fri, 24 Feb 2012 20:23:48 GMT

     [ 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

        

Mime
View raw message