Script to backup all non system databases To backup all your MS SQL databases quickly on a SQL instance use the following script in a new query window. You must change the “SET @path” string to a suitable location.
In: SQL · Tagged with: backup, script, sql, T-SQL
ThisSQL Cheat Sheet has examples of various SQL commands that work on most major flavours of SQL. Though they all work on T-SQL.