Skip to content

Conversation

tkyc
Copy link
Contributor

@tkyc tkyc commented Jan 6, 2024

When the following is true and when Always Encrypted is used:

  • sendStringParametersAsUnicode=true
  • Inserting a string against a non-unicode column
  • UTF-8 collation is used
  • Server version is >= 15

The driver will safely insert the string into the non-unicode column. In all other cases, the driver will throw an error indicating a potential data loss if the insert is to be followed through.

@tkyc tkyc force-pushed the ae-data-corruption branch from 4b0f854 to 663846d Compare January 10, 2024 21:46
@lilgreenbird lilgreenbird marked this pull request as draft February 21, 2024 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

1 participant