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

[SMALL] Fix to #30330 - Json: updating property with conversion from string to other type fails on sql server #30380

Merged
1 commit merged into from
Mar 2, 2023

Commits on Mar 2, 2023

  1. Fix to #30330 - Json: updating property with conversion from string t…

    …o other type fails on sql server
    
    when producing update statement, when deciding whether we need CAST around the result of JSON_VALUE, we need to look if the property has converter, rather than just look at it's clr type.
    If the clr type is string, but it gets converted to int/bool etc we still need a CAST.
    
    Fixes #30330
    maumar committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    c5cd426 View commit details
    Browse the repository at this point in the history