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,12 @@
--select contentid,config,cast(config as xml) xConfig from contents
-- Check to see if there are any XML conversion issues.
-- select max(cast(cast(config as xml) as varchar(max))) test from Contents
-- Check for erronious PSI Data
select * from Contents where Config like '%<PSI %'
--Remove PSI Node
--Update Contents Set Config = substring(config,1,charindex('<PSI ',config))+'/Config>' from Contents where Config like '%<PSI %'
--NOTE: First run the entire query, then run just the last line above, then run the entire query again to verify there are none left