Skip to content
Loading
+1
  • Rijwan Ansari
    +1
    Normally, you cannot decrypt in SQL server if it is encrypt in C# or applicaition level. 
    Encryption method in C# function might be using defferent logic and key. So this is not a good practice. 
    Either use encrytion and decryption both in SQL database or application level. 
    +1
  • Srinivasan Ramamoorthi
    -1
    You can use the decryption logic in a stored procedure.
    -1
  • Srinivasan Ramamoorthi
    -1
    Check this article https://stackoverflow.com/questions/7921943/encrypt-and-decrypt-data-with-c-sharp-and-sql-server
    -1