Search
 
SCRIPT & CODE EXAMPLE
 

SQL

where clause for clob in oracle

select * 
    from aTable 
   where dbms_lob.compare(aClobColumn, 'value') = 0
Comment

where clause for clob in oracle

select * 
    from aTable 
   	where dbms_lob.compare(aClobColumn, 'value') = 0 //implicitly converting value to clob datatype
   
//for explicitly converting 'value' to clob data type.
  select * 
    from aTable 
   	where dbms_lob.compare(aClobColumn, to_clob('value')) = 0
//both does the same thing
Comment

PREVIOUS NEXT
Code Example
Sql :: change sql global mode 
Sql :: trigger sql 
Sql :: left join in sql oracle 
Sql :: devilbox mysqldump 
Sql :: azure check access to sql database 
Sql :: oracle compile trigger 
Sql :: mql5 list all available symbols 
Sql :: round .5 to 1 in sql server 
Sql :: mysql bind-address default value 
Sql :: SQL Server modify_timestamp trigger 
Sql :: windows aggregate functions in postgresql 
Sql :: alter in sql 
Sql :: sql delete just one row 
Sql :: create table kusto 
Sql :: one to one and one to many relationship 
Sql :: offset in postgresql example 
Sql :: sql union 
Sql :: drop databse 
Sql :: oracle logfile switch 
Sql :: not equal in mysql query 
Sql :: find current server name for SSMS 
Sql :: select only columns that are not empty oracle sql 
Sql :: oracle no data found error code 
Sql :: create and attach user to a postgresql database 
Sql :: alter table add multiple columns mysql 
Sql :: sql timezone 
Sql :: laravel subquery in from clause 
Sql :: sql in operator 
Sql :: insert value to new table by joining 2 different tables 
Sql :: delete join sql server 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =