Hi Guys
I’m trying to find my way into the views of the DB.
First of all, i know that it’s better to do it by API, but i really want to do it on DB-level. I already found the post How to get the values of property resulting from an analyses?, where i can do it by Session Relevance.
So back to my topic:
The first thing I notice is that there is no Analyses_Properties. You do have a Baseline_Properties etc, but why is there no Analyses_Properties?
Second: I can retrieve the XML-file for an analysis by the following code:
select p.id, p.name, convert( xml, convert( varbinary(max), p.fields ) ) as "XML-file"
from local_object_defs p join versions v on v.id=p.id and v.sitename=
'ActionSite' and p.version=v.latestversion where NOT p.parentid=1 AND p.isfixlet=1 AND Name = 'Data Pulling Devices' order by name
This will get the following part XML-file (didn’t copy the whole + i left my relevance queries from IBM out of it:
So, my question… How do I retrieve those values with SQL or how can I adjust the XML file that it’s a better XML-file?
If i’m missing anything, let me know!
As always, thank you for your help!
Greetings
Steini44