Quantcast
Channel: SQL Backup Archives - SQL Authority with Pinal Dave
Viewing all articles
Browse latest Browse all 110

SQL SERVER – How to Delete a Single Table From SQL Server Backup File (.bak)

$
0
0

Question: How to Delete a Single Table From SQL Server Backup File (.bak)?

Answer: It is not possible by directly editing the backup file .bak.

SQL SERVER - How to Delete a Single Table From SQL Server Backup File (.bak) deletetable-800x220

I had actually heard this question during a recent interview, however, the only reason I have not included this question in the interview question and answer series is that I believe it is not worth that important. A good interviewer will never ask you this question in an interview as he knows that there is no value to this question in the real world.

I can totally see why sometimes users want to delete a particular backup from the backup file, however, it is not possible to do so at all. If you want to delete any table in backup, well, first you should delete that from your database and take backup.

If your intention is to reduce the size of the backup, I suggest you opt for compressed backup option available by default in SQL Server.

I guess, that’s it. I have nothing more to add in this subject. If you thought, I have a negative tone of this blog post, honestly that is not my intention at all.

Here are few related blog posts which you should read:

Reference: Pinal Dave (https://blog.sqlauthority.com)

First appeared on SQL SERVER – How to Delete a Single Table From SQL Server Backup File (.bak)


Viewing all articles
Browse latest Browse all 110

Trending Articles