Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 17, 2004 at 06:24 AM

    Hi,

    the connections are stored in RSRWORKBOOK.

    Regards

    Heike

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded