Hello. I have a sql server database and a stored procedure that selects a row from a table. The table has about 50 fields and a couple contain encrypted data. I need to select all the info using the stored procedure, but I need to decrypt the encrypted data using sql server's DecryptByPassPhrase. Is there a way that I can do "select * from table" but replace just the encrypted fields with a "select DecryptByPassPhrase"? Thanks for any help.
Stored procedure select * help
Page 1 of 12 Replies - 537 Views - Last Post: 24 August 2010 - 07:28 AM
Replies To: Stored procedure select * help
#2
Re: Stored procedure select * help
Posted 20 August 2010 - 05:22 PM
You can add the decrypted columns to the select all. Something like Select *, Decrypte1,Decrypte2 From
#3
Re: Stored procedure select * help
Posted 24 August 2010 - 07:28 AM
Oops. Didn't think it would be that simple. Thanks a lot!!!
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|