This commit is contained in:
2023-05-09 18:21:47 +00:00
parent dc9eca0953
commit 3dd59e20d8
118 changed files with 12010 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
select * from vefn_getversionnames ()
--find occurences
select itemid, text from contents cc
join vefn_getversionitems ('163') vi on cc.contentid = vi.contentid
where text like '%will TRIP%'
and text like '%will TRIP%'
COLLATE Latin1_General_CS_AS
--remove bold and underline
update cc set text = replace(text, 'CONCENTRATION OPEN', 'CONCENTRATION\u160?OPEN') from contents cc
join vefn_getversionitems ('163') vi on cc.contentid = vi.contentid
where text like '%CONCENTRATION OPEN%'
COLLATE Latin1_General_CS_AS
--add bold and underline
update cc set text = replace(text, 'are NOT in', 'are \b\ul NOT\b0\ulnone in') from contents cc
join vefn_getversionitems ('162') vi on cc.contentid = vi.contentid
where text like '%are NOT in%'
COLLATE Latin1_General_CS_AS
--add bolding
update cc set text = replace(text, 'display AND SEND', 'display AND \b SEND\b0\none ') from contents cc
join vefn_getversionitems ('161') vi on cc.contentid = vi.contentid
where text like '%display AND SEND%'
COLLATE Latin1_General_CS_AS
--add underlining
update cc set text = replace(text, 'Either "Ch', 'If \ul either\ulnone CC') from contents cc
join vefn_getversionitems ('159') vi on cc.contentid = vi.contentid
where text like '%If either CC%'
COLLATE Latin1_General_CS_AS
--(change text)
update cc set text = 'ATTACHMENT 1 - INPUT MODULE FAILURE' from contents cc
join vefn_getversionitems ('161') vi on cc.contentid = vi.contentid
where text like 'ATTACHMENT 1 - INPUT MODULE FAILURE'
COLLATE Latin1_General_CS_AS

View File

@@ -0,0 +1,24 @@
Select line 1 and run against Barakah_ARPs to get folder numbers [EF-0001 (159) RW-0001 (163)]
Lines 8, 14, 20, 26, 32, 38 make the search/Fix case sensitive
Lines 4-8 selected:
(###) Folder Number
% % text wanting to change *same text both places*
Lines 11-14 selected:
11 , \u160? first is the Text to be changed second \u160? (the \u160? Is the hard space being added and it can go before or after the word being unbolded)
12 (###) Folder number
13 % % Same text as on line 11
Lines 17-20 selected:
17 , \b\ul \b0\ulnone first is the Text to be changed second \b\ul \b0\ulnone (\b\ul \b0\ulnone turns on then turns off bolding and underlining) there are 2 spaces between \b0\ulnone & the or next word
18 (###) Folder number
19 % % Same text as on line 17
Lines 23-26 selected:
23 , \b \b0\lnone first is the Text to be changed second \b \b0\none (\b \b0\none turns on then turns off bolding) there are 2 spaces between \b0\none & the or next word
24 (###) Folder number
25 % % Same text as on line 23
Lines 29-32 selected:
29 , \ul \ulnone first is the Text to be changed second \ul \ulnone (\ul \ulnone turns on then turns off underlining) there are 2 spaces between \ulnone & the or next word
30 (###) Folder number
31 % % Same text as on line 29