Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error when using unicode literal #46

Open
PhilippSalvisberg opened this issue Aug 8, 2024 · 0 comments
Open

Parse error when using unicode literal #46

PhilippSalvisberg opened this issue Aug 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@PhilippSalvisberg
Copy link
Collaborator

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.

@PhilippSalvisberg PhilippSalvisberg added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants