question

AJ_dba avatar image
AJ_dba asked

Remove one data file from encrypted sql server DB

I have an encrypted sql DB with 2 data files. need to shrink and remove file #2. DBCC SHRINKFILE (filename, EMPTYFILE) is shrnking it to 10MB but stuck there and can't remove it? What sql server is doing now? does it need to decrypt DB to remove the file?

sql-server
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
SmithSean avatar image
SmithSean answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.