You are on page 1of 2

======================================================================

************************* ONE SHOWROOM ****************************


======================================================================

sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'

USE master;
alter authorization on DATABASE :: [MaDB] to [SOTUFAB\Administrateur];

======================================================================
************************ ALL SHOWROOMs ****************************
======================================================================

USE [SOTUFAB_SR];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR02];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR02] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR03];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR03] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR04];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR04] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR05];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR05] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR06];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR06] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR07];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR07] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR08];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR08] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR09];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR09] to [SOTUFAB\Administrateur];
go

USE [SOTUFAB_SR10];
go
sp_change_users_login 'update_one', 'user_cbase', 'APPL_CBASE'
go
USE master;
go
alter authorization on DATABASE :: [SOTUFAB_SR10] to [SOTUFAB\Administrateur];
go

You might also like