Ticket #2329: Trac_2329.sql

File Trac_2329.sql, 662 bytes (added by Benjamin Haag, 5 years ago)
Line 
1--===================================================================
2-- https://npgsweb.ars-grin.gov/trac/GG/ticket/2329
3--===================================================================
4USE gringlobal
5UPDATE order_request_action
6SET
7 note = dbo.fn_redact_email_address(note),
8 modified_by = 48,
9 modified_date = GETDATE()
10WHERE
11 note LIKE '%changed%by%@%'
12OR
13 note LIKE '%marked%by%@%'
14OR
15 note LIKE '%created%by%@%'
16OR
17 note LIKE 'New Order%@%'
18OR
19 note LIKE 'Order sent%@%'
20OR
21 note LIKE 'Order%split%@%'
22OR
23 note LIKE '%order%being prepared%@%'
24OR
25 note LIKE '%@%.gov%'
26OR
27 note LIKE '%NC7orders%'
28OR
29 note LIKE '%@%.com%'