This commit is contained in:
Kathy Ruffing 2011-09-29 16:06:27 +00:00
parent af9ab49e1e
commit dde9043dfb

View File

@ -15338,8 +15338,8 @@ Union All
else '' end
PPath,
Path + case C.Type/10000
when 0 then @Delim + @UnitPrefix + C.Number + @DelimNumber + C.Text
when 1 then @Delim + @UnitPrefix + C.Number + @DelimNumber + C.Text
when 0 then @Delim + @UnitPrefix + C.Number + @DelimNumber + C.Text -- Procedure
when 1 then @Delim + C.Number + @DelimNumber + C.Text -- Section
else
case P.FromType
--when 1 then 'PRC' + @Delim + cast(1 as varchar(3))
@ -15364,8 +15364,8 @@ Union All
PPath,
--'1' +
PPath + case C.Type/10000
when 0 then @Delim + @UnitPrefix + C.Number + @DelimNumber + C.Text
when 1 then @Delim + @UnitPrefix + C.Number + @DelimNumber + C.Text
when 0 then @Delim + @UnitPrefix + C.Number + @DelimNumber + C.Text -- Procedure
when 1 then @Delim + C.Number + @DelimNumber + C.Text -- Section
else case when Path like '%.%' then @DelimStep else @Delim end + cast(Ordinal + 2 as varchar(3))
end Path, 0,
POrdinalPath,