I have several EDI messages (X12, HL7, etc.) stored in an Oracle database. Sometimes I want to pull out individual fields (for example, ISA-03). I currently have a really ugly sql. I would like to create a PL / SQL package to simplify it and wondered if anyone had already done this.
I imagine something like:
select edi.x12.extract_field (clob_column, 'ISA', 4) from edi_table
source
share