Our database has tons of tables, but there are only a few tables & stored procedures that need to be backed-up on a weekly basis.
To backup, I right-click the DB, click Generate Scripts, and then select the objects that I want to back up. I usually change Script Drop to True, Script Data to True, and a few other changes. Then I begin selecting tables and SPs, and finally generate the script.
Is there a way to automate this? That way I don't have to change those options or select the same tables every time. I do not want to (and cannot) backup the database.
I also saw this link asking for a command-prompt version, but I do not want to mess with VB or any other 3rd-party language just to automate this.
We use Sql Server 2008.
Thanks.