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

Sync fails on column that contains the '/' character in the column name. #944

Open
SvdSinner opened this issue Jan 24, 2023 · 1 comment

Comments

@SvdSinner
Copy link
Contributor

Using the SqlServerProvider or SqlChangeTrackingProvider if a column name contains the '/' character, sync will fail.

A quick look at what is happening is that the column names are being transformed to variable name by prepending a '@' character. '/' is not a valid character in a Sql variable name, so an error is thrown.

I can probably write a fix for this if you assign it to me.

@SvdSinner
Copy link
Contributor Author

From Here:
Variable names must begin with an at (@) sign. Local variable names must comply with the rules for identifiers.

Note: Sql variable names do not have an option to include other characters by enclosing them in brackets or double-quotes like many other identifiers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant