Hey guys,
first of all, please excuse my bad english
i try since two days to create a swql-query that give me with SPLITSTRINGTOARRAY one value from a string that contains two values wich are seperatet by |§|§| as shown in the SDK. But it dont work.
Thats the query :
SELECT SPLITSTRINGTOARRAY(Arr.Str) as ArrVal, ARRAYVALUEAT(ArrVal,0) as A0, ARRAYVALUEAT(ArrVal,1) as A1
From (SELECT accp.WertePaar10 as Str
From orion.AlertConfigurationsCustomProperties accp
Where accp.Alert.AlertID = 188) as Arr
The faild message: Cannot resolve property ArrVal
If i execute the query without the "ARRAYVALUEAT" i get the array:
SELECT SPLITSTRINGTOARRAY(Arr.Str) as ArrVal
From (SELECT accp.WertePaar10 as Str
From orion.AlertConfigurationsCustomProperties accp
Where accp.Alert.AlertID = 188) as Arr
Result: ArrVal = [Test1, Test2]
Ive tried multiple query-variations without an useable result. Only failure-Messages. Can anyone help?