Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Retrieve a specific field in HUGE CLOB field

e858ebe2-ede2-4811-b542-299f9f9c9646Dec 22 2016 — edited Dec 22 2016

Hi,

Can you please help me out on writing a query to pull a specific field in HUGECLOB column ?

Below is the data

M2AHDR~38585382~FLAP~AG~000001~~~TRL

TRANSHEADER~GA~FUNCTIONAL GROUP ACCEPTED~007326879~Mach-ACH~20161221~0031~1074~~820~8658818.36~.00~8658818.36~126~0~126

The highlighted field ( in red) is the value i need to pullĀ  . I pulled the data using the query

select DBMS_LOB.substr(column, 3000) from table

where trunc(RECEIVED_DATE)= '21-Dec-2016'

Since i am new to oracle , i am not sure how to pull the specific field from the CLOB column.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 19 2017
Added on Dec 22 2016
9 comments
7,757 views