April 17, 2023 at 12:00 am
Comments posted to this topic are about the item Create an Empty Database Using SQL Server Integration Services
April 19, 2023 at 7:13 pm
Hi Nisarg and anyone else interested. I tried this and it creates a nice empty database. Thanks for the instructions. But I still find a big problem with it that revolves around encryption/decryption. I find that I can't use the decryption procedures on this database despite recreating the master key, certificate, and symmetric keys. They only work if I restore the original whole database. I can restore it with a different name or whatever but decrypting works fine from the restored database but not the new empty copy created. Any ideas regarding how to get a call like the following to work on the empty database.
OPEN SYMMETRIC KEY FsaKey DECRYPTION BY CERTIFICATE FsaCert;
SET @clearText = DecryptByKey(@cipherText);
SELECT @clearText OUTPUT;
CLOSE SYMMETRIC KEY FsaKey;
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy