I wanted to convert a CLOB type column in VARCHAR2 and use the same in a query. Below is a simple way using substr and to_char. Using this approach you can use the CLOB type like any VARCHAR2 column.
SELECT to_char(substar(CLOB_COLUMN,1,100)) error FROM table_name
WHERE to_char(substar(CLOB_COLUMN,1,100)) LIKE'%ORA%'
Showing posts with label CLOB. Show all posts
Showing posts with label CLOB. Show all posts
Tuesday, 19 May 2015
Subscribe to:
Posts (Atom)
Integrations Lead - Lessons learnt
Integrations have been my passion for a while but like anything tech there is no credit given when things go right but always heaps of pres...
-
For most outbound interfaces bursting to content server and then picking the file from UCM is the best approach for large extracts. Default...
-
While developing Cloud integrations I could not find a single place for all details like InterfaceID or jobdefinitionname or job name etc. ...
-
Integrations have been my passion for a while but like anything tech there is no credit given when things go right but always heaps of pres...