Attached are Perl script sources and outputs of my custom tool for executing SQL Queries against a CM Database.
CMDatabaseDumper.pl allows you to dump the database and table structure of a cm database to a text file to help you for queries. should do any version of informix
CMDatabaseQuerytoExcel.pl This file dumps a specific SQL Query to a very nice and readable CSV!
Hope someone else finds use in these!