G
Size: a a a
А
VS
outer apply (
select MAX(case when s.value like 'countryCode%' then RIGHT(s.value,len(s.value)-charindex('=',s.value) ) end) as countryCode,
MAX(case when s.value like 'countryName%' then RIGHT(s.value,len(s.value)-charindex('=',s.value)) end ) as countryName,
MAX(case when s.value like 'locality%' then RIGHT(s.value,len(s.value)-charindex('=',s.value)) end ) as Locality
from string_split(j.LocationParams ,';') s
)loc
VS
ПЛ
countryCode=PL;countryName=Polska;locality=Marki;street=Zieleniecka;postalCode=05-270;speedLimit=50;roadUse=LocalStreet;
она мне идет в одном из свойства джсона,id, countryCode,CountryName, Locality ....
;
=> ","
=
=> ":"
) и преобразовать в джсон, потом с ним работать как обычно, А
ПЛ
А
DB
DB
DB
AA
K
AA