Column encryption using always encrypted fails for tables with clustered index when using online approach
DBarmanMS opened this issue · comments
Repro steps:
- Create a table with a clustered index
- Try to encrypt a column in this table using UseOnlineApproach
- The encryption fails with the error similar to "Set-SqlColumnEncryption: Cannot create more than one clustered index on table 'HR.tmp_ms_xx_xxxxxxxxxxxxx'. Drop the existing clustered index 'tmp_ms_xx_index_CIX_EmpDetails_EmpId1' before creating another."
PR - https://msdata.visualstudio.com/SQLToolsAndLibraries/_git/AlwaysEncrypted/pullrequest/1054777
This was fixed in v22.1.1