数据库 xml 查找 某个属性所有的值
declare @temp xml
select @temp= cast(Right_xml as xml).query('/WorkItem/WorkForm/WorkCtrl')
from Platform.FormRight
where flow_set_id = 632
select T.c.value('@CtrlCode', 'varchar(max)')
from @temp.nodes('/WorkCtrl') as T(c)
from Platform.FormRight
where flow_set_id = 632
select T.c.value('@CtrlCode', 'varchar(max)')
from @temp.nodes('/WorkCtrl') as T(c)
走向地狱的途中,不小心走了程序员这条路,路上一个个黑心的老板,和暗无天日的加班,我才发现,通往地狱的路径中,我们这行是最短的。