I want to know how to pass symmetric key to SQL query as parameter.
I'm usually hardcoding it within the query as follows:
OPEN SYMMETRIC KEY SymKey
DECRYPTION BY CERTIFICATE CertiFi;
SELECT * FROM MasterBlaster
CLOSE SYMMETRIC KEY SymKey
But I want to pass it as parameter.