Home » SQL & PL/SQL » SQL & PL/SQL » How to use DISTINCT for CLOB data type? (Oracle 11g)
How to use DISTINCT for CLOB data type? [message #647466] |
Thu, 28 January 2016 22:52  |
|
Hi,
I have select query runs DISTINCT on all the columns involved. A column's data type is CLOB and it is converted to CHAR using TO_CHAR function to be used in DISTINCT. I encountered issue where the data for the CLOB column is exceeding 4000 BYTES hence i cannot use TO_CHAR anymore, how can i easily convert TO_CHAR function for the CLOB column.
Basically i have to perform DISTINCT on a CLOB column. Please help.
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jul 12 13:07:49 CDT 2025
|