-
Notifications
You must be signed in to change notification settings - Fork 18
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
Character data test - character sets #77
Comments
Is the N prefix part of the standard, or a SQL server extension? Anyway, we might need a tweak here. |
i suspect the latter. A quick search suggests that maybe Oracle has a similar "feature" |
From T-SQL docs:
MySQL and PostgreSQL accept this syntax (I'm not sure about the semantics), SQLite rejects it. MySQL has "introducers", too, looks like you can ask |
One of the parts of the
data_character()
tests is executing the following query:SELECT 'Кирилл' AS A
.By default, this will return
?????
in SQL Server (even natively). What needs to be executed isSELECT N'Кирилл' AS A
. This is because, by default, SQL Server uses a non-UNICODE character set so one needs to declare a string literal as UNICODE using theN'
prefix.As a result this test case fails.
The text was updated successfully, but these errors were encountered: