Skip to content

Commit 813f0f5

Browse files
committed
Remove sensitive keywords
Remove sensitive keywords
1 parent c942743 commit 813f0f5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Resource Governor/Arc-RS-Settings.sql

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ BEGIN
3030

3131
DECLARE @workload_group sysname
3232

33-
IF (lower(APP_NAME()) like '%despytest%')
34-
SET @workload_group = 'DESPYTEST'
33+
IF (lower(APP_NAME()) like '%facebook%')
34+
SET @workload_group = 'FACEBOOK'
3535

3636
IF (lower(APP_NAME()) like '%enerhyd%')
3737
SET @workload_group = 'ENERGY'
@@ -54,9 +54,8 @@ BEGIN
5454

5555
IF (
5656

57-
LOWER(ORIGINAL_LOGIN()) IN ('sa','deshaw\sqlexec','win\sqlexec', 'dbmon','sqlmon','nt authority\system','nt authority\network service','ignitep',
58-
'deshaw\iscsiadmin')
59-
OR LOWER(ORIGINAL_LOGIN()) LIKE N'corp\%[_]sa%' OR LOWER(ORIGINAL_LOGIN()) LIKE 'deshaw\g-sqlrepl1%'
57+
LOWER(ORIGINAL_LOGIN()) IN ('sa','lab\SQLServices','sqlmon','nt authority\system','nt authority\network service')
58+
OR LOWER(ORIGINAL_LOGIN()) LIKE N'lab\%[_]sa%' OR LOWER(ORIGINAL_LOGIN()) LIKE 'lab\sqlrepl%'
6059
)
6160

6261
SET @workload_group = 'SQLADMIN'

0 commit comments

Comments
 (0)