Does anyone know if it's possible to retrieve/run an IQA query from a SQL script? I was hoping we could query the Blob field in the DocumentMain table to retrieve the SQL script for a particular IQA query, but it doesn't look like the Blob data for DocumentTypeCode='IQD' is stored in XML format, so I'm not sure how to encode/retrieve the data.
We want to do this so that an IQA query can be executed as part of a SQL job or stored procedure so that the users can maintain the query, but we can leverage it for back-end processing.