removed USE master; to see if we can get this to run on SQL Azure