Home Forums SQL Server 2008 T-SQL (SS2K8) Add login, user, roles in mult db's dynamically RE: Add login, user, roles in mult db's dynamically
SkyBox
SSCarpal Tunnel
Points: 4288
More actions
March 6, 2013 at 8:16 am
#1593999
Gazareth (3/6/2013)QUOTENAME (@DB) is resulting in [USE MyDB] - needs to be USE [MyDB]
Gazareth (3/6/2013)
Good catch! Still open to a better overall approach for this.