In SQL Server:
OPEN SYMMETRIC KEY TestEncryption DECRYPTION BY CERTIFICATE MyCertificate SELECT CONVERT(VARCHAR(255), DECRYPTBYKEY(EncryptColumn)) FROM Table1 <