Oracle Sql Developer “string literal too long” error

前端 未结 5 1266
甜味超标
甜味超标 2020-12-19 06:18

I have the following SQL that I would like to run in Oracle SQL Developer against an Oracle 10g server:

WITH openedXml AS (
  SELECT extractvalue(column_va         


        
5条回答
  •  無奈伤痛
    2020-12-19 07:10

    You can't get around this with "plain" SQL. (But I'd be glad to be proven wrong)

    You will need some kind of programming language (e.g. Java, Stored Procedure) to deal with this.

    An alternative is to upload the XML data into a table (can be done with SQL*Loader) and the use the column values in your query.

    This is one of the limitations of Oracle that is really driving me nuts. 20 years ago this might have been somewhat acceptable, but nowadays...

提交回复
热议问题