DOS Batch File Date and Time

Written by David POstlethwaite A non SQL blog for a change Ever needed to create a batch file that wrote a time stamped log file that ensures the day and month number always have two digits? Try this: SET Now=%Time: =0%Set...

Powershell – Useful Resources

One of my aims at the start of the year was to improve my Powershell and scripting skills. I run a few Google searches looking for resources and had plenty of results returned, but finding the ‘wheat from the chaff’ proved difficult. So I turned to twitter and asked...

Scheduling backups in SQL Server Express

I have seen many forum posts asking how do you schedule backups for SQL Express databases and the answers always have similar responses that go something like: “There is no SQL agent in Express…the only way to backup databases on a schedule is to write a script and...