Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
321 B
4
Indexable
Never
EXEC ('USE [CIMA_ACCOUNTING]; GRANT SELECT ON [dbo].[ADGroups] TO [clawsuser]') AT cima_aws_dev;

EXEC sp_droplinkedsrvlogin @rmtsrvname = 'cima_aws_dev', @locallogin = NULL;
EXEC sp_addlinkedsrvlogin @rmtsrvname = 'cima_aws_dev', @useself = 'False', @locallogin = 'sa', @rmtuser = 'clawsuser', @rmtpassword = 'password';
Leave a Comment