Skip to Content
author's profile photo Former Member
Former Member

How to find in which workbooks a query is used?

We are looking to find a way to list a simple report that should list the all query names and all workbooks where respective query is used (with other words: the query workbook relationship).

Sop far this can be seen in metadata repository, but only query by query. Most probably this info it is stored in some tables. The question is in which tables?!

Any help would be much appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2004 at 12:05 PM

    Hi Narcis,

    Have you tried looking at the stats cube? I haven't used it for that specific purpose, but there is a lot of information available in the Statistics cube.

    Thanks,

    Allan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 17, 2004 at 06:24 AM

    Hi,

    the connections are stored in RSRWORKBOOK.

    Regards

    Heike

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2004 at 01:32 PM

    Looked in stats, but not very helpful and quite buggy (BC 3.2). Thx for the tip with RSRWORKBOOK.

    After some investigation the full answer is:

    - table <b>RSRWORKBOOK</b> contains the WORKBOOKID and the GENUNIID

    - table <b>RSRREPDIR</b> contains GENUNIID, query name RNAME, AUTHOR, LASTUSER, INFOCUBE

    - table <b>RSRINDEXT</b> contains the WORKBOOKID and workbook TITLE

    You should join the tables by GENUNIID and select in RSRREPDIR the rows that have COMPTYPE='REP' for queries and object version active/modified.

    With this information an infoset query can be created to list all workbook-query-user relationship (and even the query-infocube relationship).

    For people that would like to spend some money, nice BSP for similar stuff is provided by Cubeserv AG (see deatils at http://www.cubeserv.ch/index_en.html).

    Thx for your help & best regards,

    Narcis

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.