摘要: declare @cmd nvarchar(4000)set @cmd = N'exec [?].sys.sp_change_users_login @Action = ''Auto_Fix'' , @UserNamePattern = ''qa'' , @LoginName = null , @Password = ''abc'' ' exec sp_msforeachdb @cmd 阅读全文
posted @ 2011-09-30 18:13 老玉米 阅读(305) 评论(0) 推荐(0) 编辑