SQL Encrypted Columns in WHERE Clause

后端 未结 3 2117
难免孤独
难免孤独 2020-12-31 07:51

I am looking to apply SQL column level encryption using symmetric keys. The initial steps needed to create the Database Master Key, Certificates and Symmetric Keys seems st

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 08:28

    Another option is to use a View which contains a column of decrypted value and find records according to it.

    SELECT PlainTextA, PlainTextB, PlainTextC from TheView 
    WHERE DecryptedColumn = @SearchTerm
    

提交回复
热议问题