I tested this on Oracle versions:
11.2.0.3.0
12.1.0.2.0
The following query throws an ORA-30004 error, but my delimiter '->' is not used in any of the column values:
with temptable as (
select '2624' as id, 'ninechars' as label, '' as parentid from dual union
select '2625' as id, 'erewrettt' as label, '2624' as parentid from dual union
select '2626' as id, 'Im stumped' as label, '' as parentid from dual union
select '2627' as id, '- Unknown -' as label, '' as parentid from dual
)
select sys_connect_by_path(label, ' -> ' )
from temptable
start with parentid is null
connect by prior id = parentid;
Some observations:
- Changing the value of "nine characters" to "ninecharsx" allows you to query
- Changing nine character to abcdefghi also aborts the request
- All nine character values seem to break the query
- Leaving the value as "nine characters" and deleting the last join operator that is not associated with any of the other entries allows a job request
- '- > ' '* > '
ORA-30004? Oracle , ?
: bobdylan pastebin.com/Ad1edFcJ ,