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 itemid, contentid,foldername,location, text,xConfig, ISNULL(xSubSection.value('@Edit','varchar(1)'),'N') EditSteps
from (
select itemid, vi.contentid, vn.foldername,dbo.ve_getshortpath(itemid) location, text, cast(config as xml) xConfig
from vefn_getVersionItems('') VI
join vefn_getversionnames() VN ON vn.versionid =vi.versionid
join contents CC ON CC.Contentid = vi.contentid
Where VI.ContentID in(Select ContentID from Parts where FromType = 2) -- Sections
And VI.ContentID in(Select ContentID from Parts where FromType = 6) -- Steps
) AH
outer apply xConfig.nodes('//SubSection') tSubSection(xSubSection)
--where xSubSection.value('@Edit','varchar(1)') is not null