use AlterDatabase instead of SQLCMD for better error condition handling