::
:: Title  : sql_svr_bkp.sql
:: Author : EXADIME LLC
:: Created: 29-Jul-2017
:: Updated: 29-Jul-2017
:: Release: 1.0.0
:: Purpose: To backup SQL Server database.
:: History: N/A
::
 
sqlcmd -s .\SQLEXPRESS -i c:\scripts\exa\sql\sql_svr_bkp.sql -o c:\scripts\exa\log\sql_svr_bkp_%date:~10,4%%date:~4,2%%date:~7,2%.log