Viewing post 1 (of 1 total)
I have found this out myself. In case anyone ever finds this, here is how you do it.
IF (select Count(*) from sys.symmetric_keys where name like '%DatabaseMasterKey%') = 0
...
December 13, 2009 at 9:17 am
#1091672