Change in SQL SERVER 2019 - Encryption.

With the new SQL SERVER 2019 . The behavior of the encryption has changed. If we encrypt the same value in 2012 and 2019 the Data length differs between the two engines. This is due to the change in the SQL Server Encryption from AS128 To AS256. This will lead to change in some of the field which has less capacity in User driven tables or locking tables.
 
 
Below is tested sample code.
 

 Change in SQL SERVER 2019  - Encryption.

 
 
SQL SERVER -  2016 – Data Length - 28

SQL SERVER – 2019 – data length - 36


Comments

Popular posts from this blog

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Shared / Static Class in vb.net/C#

OUTPUT Clause with Insert in Stored Procedure in SQL Server.