April 7, 2014 at 9:34 pm
Comments posted to this topic are about the item Symmetric Key Use
April 7, 2014 at 9:35 pm
Nice question with a little bit of digging required to insure the correct answer.
Hope this helps...
Ford Fairlane
Rock and Roll Detective
April 7, 2014 at 10:39 pm
Good one, Thanks Steve.
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
April 8, 2014 at 12:10 am
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
April 8, 2014 at 5:14 am
Thank you for a very unambiguous question.
April 8, 2014 at 7:47 am
Thanks for the question Steve.
April 12, 2014 at 4:18 am
Good question! had to do some R&D to find out the correct answer. And here is a good reference for the same subject:
http://www.sqlservercentral.com/blogs/steve_jones/2013/12/16/symmetric-keys/
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
April 12, 2014 at 10:52 am
Nice simple question. But I wonder if the 35% of responses from people who want to deallocate teh key think that the key is some kind of cursor?
Tom
April 24, 2014 at 12:44 pm
I hate to be picky, but:
if exists (select * from sys.openkeys where key_name={key_name})
close symmetric key {key_name}
If you try to close it twice by accident, you get an error:
(The key {key_name} is not open. Please open the key before using it)
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply