I need to automate SQL Azure database backup in SQL Script files. How can i do so?
问题 Presently i am generating SQL scripts everyday to take the backup of SQL Azure database. I need to automate this process using some freeware. How can i achieve this? Note:- I need to take the backup in form of SQL Script to some local machine. 回答1: Option 1: Run some code/script to backup the database You could run the SQL using the SQLCMD utility. http://msdn.microsoft.com/en-us/library/ms162773.aspx To schedule this, just use the Windows Task Scheduler. http://msdn.microsoft.com/en-us