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 COLLATION descriptions aren't matching MSSQL #16

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

MySQL COLLATION descriptions aren't matching MSSQL #16

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

Comments

@acnicholls
Copy link
Owner

Msg 448, Level 16, State 2, Line 29
Invalid collation 'utf8_general_ci'.

find the equivalent and write a function that corrects each collation to the proper MSSQL standard

string ConvertCollate(string MySQLCollate)
{
    switch(MySQLCollate)
    {
        case "utf8_general_ci":
        {
            return "whatever_it_is";  // SQL_Latin1_General_CP1_CI_AS is SQLServer default
            break;
        }
        // etc...
    }
}
@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