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

MySQL handles nchar differently than MSSQL #14

Open
acnicholls opened this issue Jun 28, 2017 · 0 comments
Open

MySQL handles nchar differently than MSSQL #14

acnicholls opened this issue Jun 28, 2017 · 0 comments
Assignees
Labels

Comments

@acnicholls
Copy link
Owner

in MySQL [nchar] is also "[char] COLLATE utf8", so in order to handle changing it correctly when creating a MSSQL script, we must add logic to determine if utf8 is being used, then convert to [nchar]

Same for [varchar] and [nvarchar]

when testing for the data type, one must look at both the columns data type and collation data.

SIDENOTE: MySQL defaults to utf8, so all [char] fields are by default [nchar]

@acnicholls acnicholls added the bug label Jun 28, 2017
@acnicholls acnicholls self-assigned this Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant