Is it possible to get the list of all the database tables used in a BO report?
Please let me know if any one has created a macro that automatically gets the table names used in the report. I have about 100 BO reports which needs to be analyzed for the list of table names used in each report.
I have managed to create a macro that can record the objects used in a report but i wonder whether we can record the table names used.
I have done this, but it’s not pretty. What I did was open each data provider and capture the SQL (only for universe-based data providers, of course). Then I strip out the text between the FROM and WHERE keywords, and extract table names from there. It’s all done via text / string manipulation so it’s subject to being confused by sub-query structures and so on, but it got the job done.
Before you ask, I don’t have a copy sitting where I can get my hands on it at the moment. But that’s what I did when I was faced with the same challenge.
Thanks for your response. I would like to know whether there is anyway to tweak this macro for BO report documentation to get to the database table name. I am able to get to the object names but not finding anyway to get to the table names.
I guess I should have started with that part. No, table names are not exposed in the Reporter / Desktop Intelligence object model, only in the Designer object model.