Switch database, then do BEGIN