How to query the "Schema" in the Reporting Schema?

I need to be able to report on a specific set of tables with my model.
I have elected to group them under one Schema.
I was thinking I could write a custom report via the Reporting Schema and select the tables based on the schema they are associated with.
However, I dont see the table within the SQLDeveoper Model Reporting Schema that containes the mapping of tables to a schema.
Is this missing from the export?
If yes, what would be a better way of doing this type of grouping?
Thanks
Mark

Hi Mark,
Schema is not exported to reporting repository.
You can use Classifications types to group tables, entities etc. And you can create your own classification types. There is field classification_type_ovid in dmrs_tables table which can be used as filter.
Another way of grouping is using Sub Views. In that case these are the queries:
--This returns all main views + sub views, exported to DB, filter in Where clause for specific design could be applied
SELECT CASE
WHEN d.diagram_type = 'MainView' THEN d.model_name
ELSE ''
END as "Model Name",
d.model_ovid as "Model OVID",
CASE
WHEN d.diagram_type = 'Subview' THEN d.diagram_name
ELSE ''
END as "Sub View",
d.ovid as "OVID"
FROM dmrs_vdiagrams d,
dmrs_models m
WHERE d.model_ovid = m.model_ovid
--AND    d.design_ovid = column design_ovid from DMRS_DESIGNS table
--AND    m.model_type = 'Relational' (or 'Logical')
ORDER BY d.model_name,d.diagram_type, d.diagram_name
- This return all all tables withing specific sub view
SELECT t.table_name as "Table Name",
t.ovid as "OVID"
FROM dmrs_tables t,
dmrs_diagram_elements de,
dmrs_vdiagrams d
WHERE de.ovid = t.ovid
AND de.diagram_ovid = d.ovid
AND d.ovid = -> this is subview ovid from above query
Regards

Similar Messages

  • How to automate to export ERD to reporting schema

    We are using Oracle Data Modeler 3.3
    We manage more than 120 ERDs for our organization. We need to export all ERDs to the reporting schema to generate reports.
    Manually doing this is time consuming.
    Please suggest if we can automate the process of exporting the ERD to the reporting schema.
    Thanks,
    Anuj

    Not today. However, we are considering adding a command line interface in a future release and this would be a possible feature to support there.

  • How to query package info from the server repo instead of local DB?

    Greetings!
    Is there an option in pacman to query the package info ( like -Si ) from the server repo instead of the local package database? Or maybe some additional program is needed for this?
    Update: Maybe this can be done by downloading a fresh copy of package DB with -Sy, but how to specify a custom package DB file? Is this accomplished with --dbpath option? Say
    pacman -Sy --dbpath /tmp/tmpdb
    Last edited by nbd (2015-06-07 18:44:23)

    nbd wrote:
    How could one interpret this?
    [root@kw etc]# checkupdates | grep pcre
    pcre
    [root@kw etc]# pacman -Si pcre | grep Version
    Version : 8.37-1
    [root@kw etc]# pacman -Qi pcre | grep Version
    Version : 8.37-1
    [root@kw etc]#
    Ok, after updating your original post and asking this question I understand what you are actually trying to do. The "local package database" generally refers to /var/lib/pacman/local, not /var/lib/pacman/sync, which is why it was unclear.
    fakeroot pacman -Syb /tmp/tmpdb -i pcre
    should do what you want, but be very careful never to install anything using that temporary database. Take a look at the checkupgrades script to see how it does things if you want to do more than just check remote package info.

  • How to query XML file RDL SSRS Report to find column titles?

    I have list of SSRS reports  theirRDL file. How can we query the file to find like text book name as below(  <Textbox Name="bippie_passed_qa_photostamps_orders_amount">). Catlog t able in report server does not provide column title
    but i am trying to find column title through RDL file. How can we query in SQL server 2012 version too? I am new in XML please help is appreciated.
      </Textbox>
                      </CellContents>
                    </TablixCell>
                    <TablixCell>
                      <CellContents>
                        <Textbox Name="bippie_passed_qa_photostamps_orders_amount">
                          <CanGrow>true</CanGrow>
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>=Fields!bippie_passed_qa_photostamps_orders_amount.Value</Value>
                                  <Style>
                                    <FontSize>8pt</FontSize>
                                    <Format>'$'#,0.00;('$'#,0.00);''</Format>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>Right</TextAlign>

    You will first need to get your report XML from the dbo.Catalog table but something like this should work:
    -- !!TODO get your report XML from the dbo.Catalog table
    DECLARE @ssrsXML TABLE ( yourXML XML )
    INSERT INTO @ssrsXML
    SELECT '<TablixCell>
    <CellContents>
    <Textbox Name="bippie_passed_qa_photostamps_orders_amount">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!bippie_passed_qa_photostamps_orders_amount.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <Format>''$''#,0.00;(''$''#,0.00);''''</Format>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Right</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    </Textbox>
    </CellContents>
    </TablixCell>'
    SELECT t.*, c.c.value('@Name', 'VARCHAR(100)' ) nameProperty
    FROM @ssrsXML t
    CROSS APPLY yourXML.nodes('//TablixCell/CellContents/Textbox' ) c(c)

  • How to query a table and result together with autonumber

    Hi all
    How to query a table and the result return autonumber for each row together with the table values.
    I have tried rowid but it provide me with characters.
    Tj

    What is your exact requirement?
    If you want the number of rows selected, you can use rownum.
    select rownum, a.* from <table> a;
    Cheers
    Deepak

  • ** How to show the master query group for once in Report??

    Hi
    I've developed a master-detail groups at a report
    The master one has it's repeating frame and the detail one has another repeating frame and put at another page at the layout.
    The porblem is that the master one is shown (the same record) in pages for times equal to the number of the detail records which is own for that master record!
    Example:
    if the master record has got three details then the master data will be show for three times (three pages) at run time and then the page number 4 will show the three detail records.
    How to make the master data to be shown only for once (page number 1 only) and then show the detail three records at the next page (page number 2) at run time???

    Hi,
    the question back is, what you've done for this. At default the master record is only shown once. Could it be, that the master-fields are inside the repeating frame for the details?
    Regards
    Rainer

  • How to unlock the request for a report and add the same query to new reques

    hi,
         how to unlock the request for a  and add the same query to new reques

    You can unlock in SE03 tcode.
    Goto tcode SE01, give the transport number --> display --> double click on the transport --> in the next screen select all the elements --> delete --> save.
    To attach it to another transport, In RSA1, click on transport connection> Choose Object types> query elements --> here you can find your query/ or you can search, which you can drag to right and attach to the transport (using truck button).

  • Unable to get another schema for the same Report!

    Hi All,
    I've created a report with data retrieved from three different schema's, but when I add a fourth schema with it's name before the query retrieved and run the report, it gives me that: table or view does not exist!
    Why does the report get the three schema's and refused the fourth one!? and how to solve the problem?
    Note: I am using reports 6i.

    HI,
    Make sure the connected user has sufficient privilege on that table.
    Regards,
    Manu.

  • How to Create the Custom print Quote Report ?

    Hi All,
    I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
    Oracle Metalink:
    Note: To add a column to the print quote report, following files need to be updated:
    LinesVO.xml --- xml files containing the sql query and attribute definition
    LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
    This class contains the set and get for the attributes defined in xml file.
    ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
    This file needs to be modified to include the new column being added to the report
    QUESTION :
    My question is,
    1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
    I want to add new fields on to the report . When i looked into the it says the below
    Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
    This report uses following VO's
    PROMPTVO
    HEADERVO,
    LINESVO.
    To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
    Thanks

    Hi All,
    I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
    Oracle Metalink:
    Note: To add a column to the print quote report, following files need to be updated:
    LinesVO.xml --- xml files containing the sql query and attribute definition
    LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
    This class contains the set and get for the attributes defined in xml file.
    ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
    This file needs to be modified to include the new column being added to the report
    QUESTION :
    My question is,
    1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
    I want to add new fields on to the report . When i looked into the it says the below
    Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
    This report uses following VO's
    PROMPTVO
    HEADERVO,
    LINESVO.
    To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
    Thanks

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • How to select multiple values from the parameters in BI Publisher report

    How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...

    Hi kishore,
    I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
    Iam able to get the results when I am selecting one value..
    and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
    ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
    1.Single selection.
    2.Multiple selection.
    3.'ALL' Values.
    4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
    Ex:
    Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
    Expected Output on the report:ACCOUNT,HR,SALES
    reply to this would be much appreciated....
    thanks,
    manoj

  • How to show all the rows of a report in one page

    My report has 30 rows, by default it just show 15 rows. I want to show all the rows just in one page, without cliking link or arrow to see the left.
    In the Layout and Pagination:
    Report Template: template: 15. Standard Report (PPR)
    Pagination Scheme: Row Ranges X to Y (no pagination)
    Display Position: Bottom - Right
    Number of Rows: 1000
    Number of Rows (item) 1000
    Maximum Row Count: 1000
    How to fix it?
    Thanks.
    Jen

    Ok, I think I got it. I needed to blank out Number of Rows(item), Maximum row count and only populate Number of Rows. I was sure I did that before and it didnt work.
    Do you think that the Sessions in Apex can cause unexpected results? I have found that when I make changes I have to log all the way out of Apex, close my browser and reopen everything to ensure that my change took. Does anyone else have this issue? I can move this into a different thread if need be.
    Thx!

  • My Menu - Add a Query Print Layout to the Report Folder

    This is a newb question.  I can easily add a Query or form or most anything else to the Folders under My Menus ... But how can I add a specific Print Query Layout to the Reports folder un My Menu?
    I know it is simple but I can not find the steps in the documentation
    Thanks in advance!!! 
    Dana

    Kapil
    I tried that, but it adds the Query not the QPLD to the menu.
    I had figured that I could go the the QPLD memu and add the Report, but that adds the Query Print Layout Menu with all the reports.
    I feel like I am missing something very obvious here!!!
    Thanks for your quick response!!
    Dana

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • How having a where-clause in a report without affecting the actions button

    Hi,
    let's suppose I have a simple report built on a table where I have a date field.
    If I want the report to get the records of the table when you login ao as to have only those of the current month, I could modify the region source in the page rendering of the report in this way:
    select
    “COLUMN1"
    "COLUMN2",
    "COLUMN3"
    from   "MYTABLE"
    where to_char(COLUMN2,'mm-yyyy') = to_char(trunc(sysdate),'mm-yyyy')
    order by COLUMN2
    The problem is that if I try to choose another range of date on the application by using the filter of the Actions button, I get no records and I suppose that is 'cause the report applies the filter to the query where I have
    where to_char(COLUMN2,'mm-yyyy') = to_char(trunc(sysdate),'mm-yyyy')
    and so I doesn't work.
    How should I do?
    Thanks!

    try this...
    select  
    “COLUMN1" 
    "to_char(COLUMN2,'mm-yyyy') ", 
    "COLUMN3" 
    from   "MYTABLE"  
    where COLUMN2 between to_char(COLUMN2,'mm-yyyy') and  to_char(trunc(sysdate),'mm-yyyy') 
    order by COLUMN2

Maybe you are looking for