I am receiving XML from a separate application. My oracle proc picks them up and in a FOR loop inserts it into an Oracle table. My Oracle code is UPPERCASE and if the other application does not match this case it does not read the records. At the moment we are forcing both sides to use the same case but for future proofing - Can I convert the passed in XML to UPPERCASE so that it is always read?
FOR REC IN (SELECT XT.*
FROM XMLTABLE ('/UPLOAD_DATA/RECORD'
PASSING IN_XML
COLUMNS COLA VARCHAR2(30) PATH 'COLA',
COLB VARCHAR2(8) PATH 'COLB',
COLC VARCHAR2(8) PATH 'COLC',
COLD VARCHAR2(20) PATH 'COLD'
) XT)
LOOP
Any help is appreciated. I have tried using UPPER in a few places but no joy yet. Thanks.