Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: want to know the reason for varchar2(4000) limit
> Can they be used freely now in query predicates?
If this was a question, then no, not quite freely. But using functions (and FBIs) it's possible:
SQL> create table t (a varchar2(4000), b clob);
Table created.
SQL> insert into t values ('XXX', 'XXX');
1 row created.
SQL> insert into t values ('XXX', 'YYY');
1 row created.
SQL> select * From t where a=b;
select * From t where a=b
*
SQL> select * From t where a=to_char(b);
A B
---------- ----------
XXX XXX
Tanel.
Received on Sat Oct 25 2003 - 06:15:44 CDT