Hi Jan; yes that's the mechanism for putting the XML into the POLICY table (that or the AUTOMAINT_SET_POLICYFILE Proc which is what I used). I was hoping for something that was a bit more elegant for examining the contents of BLOB column but this will do the trick:
SELECT NAME , XMLPARSE(DOCUMENT CAST(POLICY AS VARCHAR(2000)) STRIP WHITESPACE) AS POLICY FROM SYSTOOLS.POLICY
I'm just trying to find out a little more about what is going on under the covers as
a) the contents of the column contain a bit more than the data I submitted as a policy, and
b) they don't seem to be working; i.e. my policy should limit the operation of the AI Optimiser to just the tables in a specific schema, but it is creating models for other schemas too.
I might try my contact in the labs and see if they can give me some pointers
Regards
Mark