Query builder; list of tables

Hello,
We use BOXIr2. I would like to use query builder to look up some things. But I don't have information about the (system) tables I can query on. I know one of them:  CI_INFOOBJECTS.
Is there any documentation about these tables?
Lia

Thanks this was very helpful. I don't think I would have found this myself.
Still, I can't find any helpful queries using query builder. I need an overview of all scheduled jobs which are recurrend. So I know which jobs are scheduled on a regular basis.
Lia
Edited by: L. Geelen on Jul 15, 2010 11:12 AM

Similar Messages

  • Need a query to list all table names

    I have more than 500 tables in my database.
    'insert_date' & 'update_date' columns are found in more than 100 tables with data type as date.
    I need a query to list all table names and 'insert_date' , 'update_date' column's content.
    Please Help
    Lee1212
    Message was edited by:
    LEE1212

    I have more than 500 tables in my database.
    'insert_date' & update_date column is found in more
    than 100 tables with data type as date.
    I need a query to list all table names and
    'insert_date' column's content.What do you mean by "column's content". A table can have many rows. Do you want to display all the distinct value for these columns?
    Below is the query to get the tables which has columns insert_Date and update_date
    select table_name
    from user_tab_columns
    where column_name ='INSERT_DATE'
    or column_name ='UPDATE_DATE'
    /You can write a PL/SQL block to retrive the distinct values of INSERT_DATE for these tables
    declare
    TYPE ref_cur IS REF CURSOR;
    insert_date_cur ref_cur;
    lv_insert_date DATE;
    cursor tables_list IS
    select table_name
    from user_tab_columns
    where column_name ='INSERT_DATE';
    begin
    for cur_tables in tables_list
    loop
      OPEN insert_date_cur for 'SELECT DISTINCT insert_date from '||cur_tables.table_name;
      DBMS_OUTPUT.PUT_LINE(cur_tables.table_name);
      DBMS_OUTPUT.PUT_LINE('--------------------------------');
      LOOP
      FETCH insert_date_cur into lv_insert_date;
      EXIT WHEN insert_date_cur%NOTFOUND;
      DBMS_OUTPUT.PUT_LINE(lv_insert_date);
      END LOOP;
    CLOSE insert_date_cur;
    end loop;
    end;I haven't tested this code. There might be some errors. Just posted something to start with for you.

  • 1.1 query builder join between tables

    In the latest Sql Developer.
    I invoke the query builder and select multiple tables that have foreign keys between them. These foreign key relationships appear in the diagram (good job).
    How do I make those relationship appear in the SQL that query builder returns to the sql worksheet. I shouldn't have to re-specify them on the where/criteria tab.
    It would be nice if these relationships are defaulted in the joining of tables.

    I overlayed the pre-release versionsDo you mean you installed in the same directory?
    Don't do that.
    There's a system directory (sqldeveloper\sqldeveloper\system) which holds settings and everything, which very well might be corrupted to be used for a newer release.
    Try deleting it, it will be regenerated at next startup. Or even better: re-install in another directory all together...
    K.

  • SqlDev 3.0 - Query Builder - Drag/Drop table - SLOW

    Has anyone else had their sql*dev 3.0 session essentially "freeze" when attempting to drag/drop a table into the query builder tab?
    After the table finally show up in the query builder, if I remove the table and then drop it back in again, it appears in the QB immediately. The slowness only seems to happen the first time you drag each individual table in.
    Anyone seen it?, is there a solution?
    Thanks!

    It's expected behavior, since the Query Builder needs to load all the required table meta data and the related constraints, foreign keys etc.
    The first EA version of this actually tried to load everything on startup, but then the tool became unusable during the startup phase of Query Builder.
    If you are interested in the debate you can read it in the following threads:
    Re: Poor performance on Query Builder with 3EA2
    3.0.02.37 EA1: Query Builder Performance With Large Schema?

  • Query for list of tables

    Hi Gurus,
    I have a requirement, i have one server on which i have got 20 DB and now i want to list those 20 DB and the count of total tables on each DB and the last login date on each DB. How can i do that? i was trying the below one but in vain.
    EXEC sp_databases;
    can you please provide your inputs for this.
    Thanks,
    RM

    Then I am speechless.
    In Oracle, for the table counts:
    select owner, count(*) from dba_tables group by owner;For last login date you need to enable auditing to track something like that.
    For SQL Server databases you should go here :
    http://social.msdn.microsoft.com/Forums/en/category/sqlserver
    Good luck!

  • Query Builder List of Report Names & their corresponding Folder Names

    HI there,
    I have in excess of 6000 reports deployed in my Crystal system.
    I need to pull 2 sets of data:
    1. I need a list of all report names & their corresponding folder names
    2. I need a list of all report names & their corresponding folder names where:
           a) The destination for the schedule is set to Email
           b) The 'to" field contains any email addresses with the value @fcl.internal in them
    Grateful for any assistance you can provide.
    Many thanks....Corinne

    This is a challenge that will require multiple queries or an application using the the SDK.
    To get the folder where a report is located, you'll need to query CI_INFOOBJECTS where SI_ID = the PARENT_ID value in the report.  To get the entire path, you'll have to "walk" up the PARENT_ID values until the value is 0, which is the root folder.
    I'm not sure whether you can get to the SchedulingInfo properties in the report to filter based on your second requirement - I'm working on an application to pull this information in my "copious" spare time, but I haven't had the opportunity to get into that part of the application yet.
    For some samples of code using the .NET SDK to do various thing, see my website at [www.dellstinnett.com/sample_code.html].  Code for walking the folder path is in the BOECommonInfo assembly.
    -Dell
    Edited by: Dell Stinnett on Nov 29, 2010 4:49 PM
    Edited by: Dell Stinnett on Nov 29, 2010 4:50 PM

  • SQL Developer 1.1.0.21.97 Query Builder Table Name List Unsorted

    The Query Builder list of table names is unsorted. Should it be alphabetical?

    We have a number of outstanding issue for the Query Builder. These will not be updated for the next evaluation release. I agree, alphabetical would be a better approach.
    Sue

  • Tables not in Query Builder table list bug?

    In HTML DB version 1.6.0.00.87 we have tables defined in our schema in our workspace. When we create a view and click on the [Query Builder] link, no tables are in the drop down list for our schema. Why? The schema is there. I can go into the SQL Workshop and query the records our of the tables, but they are not listed in the [Query Builder].
    I tried this same function but with my workspace at htmldb.oracle.com. The tables in my schema are listed there.
    Is this a bug that was fixed in version 1.6.1.00.02?

    There is one schema assigned to the workspace. That schema is listed in the pop-up window. Here are the steps I am doing:
    1.) Click on SQL Workshop
    2.) Click on Create Object
    3.) Click on View
    4.) The correct schema is listed in the Schema field. There is only one schema in the drop-down list for the Schema field.
    5.) Click on [Query Builder]. A separate browser window appears with the correct schema. There is only one value in the drop-down list for the schema. "- Select Table -" is in the TABLE field.
    6.) I click on the TABLE field to get a list of tables for the schema. Only "- Select Table -" is listed. No other tables are listed.
    I can cancel the Create View and return to the main page of the SQL Workshop. I can click on Tables to see what table are available. I select the correct SCHEMA and see the list of tables.
    I tried this in the same version of HTML DB (v 1.6.0.00.87) in a different database ie. a different HTML DB repository and received the same results, missing tables in the pop-up page
    I do not know why the tables do not list in the [Query Builder] for the Create View.

  • Synonym (to table) visibility in Query Builder?

    Hello,
    I have a schema that contains a table or two, and a bunch of synonyms to other tables in other schemas. In my current Query Builder (1.1.3 MAIN-27.69), I don't see the tables represented by the synonyms -- other available tools show the tables in their visual query builder, so I'm wondering if there is some function to enable this in Oracle's SQL Developer?
    Update: to be more specific, the other tool being evaluated (freeware) is QueryReporter, and its visual query builder includes synonym-table links. I'm trying to steer the staff to SQL Developer, but this is a pretty heavily used capability in QR
    I apologize if this has been asked before, I searched the Forum but found no hits.
    Message was edited by:
    Lee McCann
    Message was edited by:
    Lee McCann

    No, we do not support synonyms in the query builder, but you can switch users in the drop list on the top left hand corner.
    We have a bug logged for this.
    Sue

  • Query Builder - How to create a link between tables with many fields?

    I have many fields in my tables. When the query builder loads the tables, the tables are expanded to accomodate all the fields. Suppose I want to link Table A's Customer ID (the first field in Table A) wiith Table B's Customer ID (the last field in Table B). How can I do that if the last field in Table B are not visible in the screen?
    Currently, I create a link in Table A's customer with a random field in Table B. Then I edit the link to create a proper condition. Is there a more efficient way to do this?
    Thanks.
    Edited by: woro2006 on Apr 19, 2011 9:40 AM

    Hi woro2006 -
    Easiest way is to grab Table A's title bar & drag Table A down the page until the columns you want to link are visible.
    FYI, there is an outstanding bug
    Bug 10215339: 30EA1: MISSING THE 2.1 RIGHT CLICK OPTIONS ON DATA FIELDS TO CREATE A LINK
    to add a context menu on the field for this. That is, Link {context field} to > {other data sources} > {fields from that source}
    It is being considered for 3.1, but I have no idea where it will end up in the priority queue.
    Brian Jeffries
    SQL Developer Team
    P.S.: Arghh, Unfortunately, I just tried it and the diagram does not auto scroll while you drag, so there is some guess work/repositioning the view involved.
    Logged Bug 12380154 - QUERY BUILDER DIAGRAM DOES NOT AUTO SCROLL WHEN DRAGGING TABLE

  • Problem of Query Builder

    Hi ,
    I am using SQL Developer 1.1.0.23. In this I was trying to use Query Builder. In this I am facing one problem. In our company, we are provided with the view_only schema which are having access to all the objects.
    Now while using Query Builder, I want to use the table of the other schema. But Query builder allow only tables owned by the schema with which we are logged in. This is making it virtually useless if we need to create the query like
    Select a.col1,
    b.co1
    from schema1.table_name1 a,
    schema2.table_name2 b;
    Can we created such query with Query Builder, or do we have any work around for this ???
    Regards
    Martand Joshi

    This is correct. There is a bug logged for this, but at this stage the query builder does not support read only access.
    Sue

  • Query builder bug in outer joins ?

    I understood that if you were joining two tables A and B, the following was a
    LEFT OUTER JOIN
    SELECT A.COL, B.COL
    FROM A, B
    WHERE A.ID = B.ID (+)
    ie: a LEFT outer join has the (+) on the Right-hand table.
    However, query builder puts the (+) on the Left-hand table.
    Same for a RIGHT outer join - I think the (+) should be on the Left-hand table, but query builder puts it on the Right-hand table.
    Cheers,
    Andrew
    (running Version 2.1.0.00.39)

    Hi Andrew,
    I just played a little with the query builder and created a join between two of my tables:
    PROJECTS and ACTIVITIES, linked via KCC.
    When I create a left outer join in query builder, I get the following result:
    select     "PROJECTS"."KCC" as "KCC"
    from     "ACTIVITIES" "ACTIVITIES",
         "PROJECTS" "PROJECTS"
    where "PROJECTS"."KCC"(+) ="ACTIVITIES"."KCC"
    Which is correct: Left refers to the first table in the from clause (ACTIVITIES) and places the (+) on the other table!
    Left and right refers to the order of tables in the from clause, not in the where clause. Query builder sorts the tables in FROM alphabetically, maybe this is differing from the graphical order in query builder.
    Regards
    Alex

  • Query to list the synonyms in one schema to different schema

    Hi
    How can i check the list of synonyms in one schema pointing to different schemas?
    Also query to list the table , foreign key constraint and reference table..
    Thanks

    Manikandan wrote:
    Hi
    How can i check the list of synonyms in one schema pointing to different schemas?
    Also query to list the table , foreign key constraint and reference table..
    Thanks
    1) DBA_SYNONYMS or ALL_SYNONYMS
    2) You can check DBA_CONSTRAINTS and DBA_CONS_COLUMNS.
    Aman....

  • Oracle Query Builder 2.5 error

    May be I'm posting it to the wrong forum but...
    I'm getting the error BRW-15954: Oracle Query Builder 2.5 tables are missing or not installed properly when I try to launch Browser. What can I do about it?
    Help please!!!
    Thanks,
    Alex

    You may have to run some of the scripts located in 'oracle_home\browse25\sql' directory as user 'SYSTEM'.

  • Query Builder - Find WEBI reports that are using a table

    I am trying to find list of WEBI reports using a specific table. This specific table is used in only 1 universe.
    Though I could successfully find list of reports that use this universe, I am unable to find drill down further and find the subset of reports using this table/object.
    SELECT si_name, SI_KIND, si_id, SI_PARENTID,SI_AUTHOR,SI_OWNER FROM CI_INFOOBJECTS, CI_APPOBJECTS
    WHERE PARENTS("SI_NAME='WEBI-UNIVERSE'","SI_NAME ='MyUniverse'")
    Is it possible to find the information I am looking for using query builder.
    Also, for a given WEBI report I am trying to find the list of report names and the folder they reside in:
    Select SI_NAME, SI_ID, SI_PATH, SI_KIND, SI_OWNER From CI_INFOOBJECTS, CI_APPOBJECTS WHERE
    PARENTS("SI_NAME='Folder Hierarchy'",
    "PARENTS('SI_NAME=''WEBI-UNIVERSE'' ', 'SI_NAME=''MyUniverse'' ')" )
    The above query just gives me the folder names. I am looking to find the report names as well the the folder (and preferably the path) in a single query. Is that possible.

    Sri,
    With respect to your 1st requirement:
    In BusinessObjects 6.5 it was possible. However, post BOXIR2 this information could not be retrieved from CMS via query builder.  I agree with Jorge Sosua's comment above.
    With respect to your 2nd requirement:
    The field 'SI_PATH' will retrieve Filestore path(physical path). If you were referring logical path(Public folder path or psuedo-reference path) will you please refer my respone to Kelly Stone at BusinessObjects Query builder queries - Part II , If this may assist you.
    Regards,
    Sandeep

Maybe you are looking for