Skip to content

Parse error when using unicode literal #46

@PhilippSalvisberg

Description

@PhilippSalvisberg

Here's an example:

select 'hello' || u'\000a' ||'world' as hello_world from dual;

which produces this result:

HELLO_WORLD
-----------
hello
world

This syntax is not documented in the SQL Language Reference 23ai. However, it is mentioned in Oracle Database Globalization Support Guide for Oracle Database 23ai in another context.

The workaround is to use chr(10) or a string containing the new line character.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions