Oracle database views

Hi ,
Can someone give me a link to all the oracle 11g database views ,which are important from an oracle developers view point ?
Thanks
s

Search the documentation for Data Dictionary.
http://www.oracle.com/pls/db112/homepage
http://www.oracle.com/pls/db112/search?remark=quick_search&word=data+dictionary
Views like USER_TABLES, ALL_CONSTRAINTS etc. are of importance and facilitate your job as a developer.

Similar Messages

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

  • What are the differences between the following Oracle database views?

    What are the differences between the following Oracle database views(or function)? Can they be instead of each other? Can all of them be used to pull out the execution plan from the library cache?
    V$SQL_PLAN
    DBA_HIST_SQL_PLAN
    dbms_xplan.display_cursor function

    junez wrote:
    What are the differences between the following Oracle database views(or function)? Can they be instead of each other? Can all of them be used to pull out the execution plan from the library cache?
    V$SQL_PLAN
    DBA_HIST_SQL_PLAN
    dbms_xplan.display_cursor functionV$SQL_PLAN-this is dynamic perfomance view which contain execution plan information for each child cursor loaded in the library cache.
    DBA_HIST_SQL_PLAN- data dictionary view also contain execution plan information for each child cursor bun in workload repository.Actually this view captures information from V$SQL_PLAN and is used with the DBA_HIST_SQLSTAT .
    dbms_xplan.display_cursor - function displays explain plan of any cursor loaded in the cursor cache. See more information below links:
    http://youngcow.net/doc/oracle10g/server.102/b14237/dynviews_2120.htm
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/statviews_2154.htm
    http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10802/d_xplan.htm#998179

  • What are the differences between the following terms in Oracle database?

    What are the differences between the following terms in Oracle database?
    Services
    Applications
    Modules
    Actions
    Thanks

    junez wrote:
    What are the differences between the following terms in Oracle database?
    Services
    Applications
    Modules
    Actions
    ThanksIt seems that you are posting alot of such questions, here is one thread of the same nature.
    What are the differences between the following Oracle database views?
    Please search in the oracle docs to find the information and if you have read it already, please post your doubts about it. It would help you in a better way to understand things and also would make you corrected where you would be wrong.
    HTH
    Aman....

  • Cannot see Database Views for a new Datasource

    I need to bind some text fields to a Oracle Database View (not a Database Table, I can see them fine).
    If I drill down into the Oracle Datasource, I don't see any of the required views.
    Although the schema I am using do not own these views, I have a public synonym set up for the view. The schema I am using do have access to SELECT on the view.
    Do anyone know if Creator will recognize these Oracle synonyms for the view? Or even better, does creator recognzie tables through Database Links?
    Ritchie

    >
    I'm using the jt400 driver w/ an AS400 DBI'm guessing that's the issue.
    try this:
    select your data source and right-click "view data".
    Enter the special undocumented query
    getmetadataand run.
    This show the schema/table/view/etc metatdata returned by the db/driver.
    Check the output section for getTables(null, null, "%", new String[] {"VIEW"}
    Any rows?
    If not, try another driver.
    If there are VIEW rows, then it's a Creator bug - those bastards! :)

  • Database Views with Entity EJBs

    Is it possible to use Weblogic Workshop to create a CMP entity EJB on an Oracle database view for a Weblogic 8.1 server?
    Is there special configuration I need to do for either the Oracle or Weblogic side to accomplish this?
    Thanks.
    Tania

    I can manually create the EJB, an it builds just
    fine, but when I go to deploy it, I get the following
    error:
    [EJB:011076]Unable to deploy the EJB
    'AssortmentMerchandise' because the databas
    e table 'K_BA01.BAV_ASRT_CLUSTR_DAT' is not
    accessible. Please ensure that this
    table exists and is accessible.
    The view is on the same datasource that I have
    successfully created all of my other entity EJBs
    (from tables).
    I can select data from the view using JDBC and the
    same datasource that I am trying to associate the EJB
    to.
    Any ideas what might be wrong with my view?Are you using synonyms or aliases? I would double check those...
    Log in using same username and password as weblogic and try a simple query:
    select * from K_BA01.BAV_ASRT_CLUSTR_DAT

  • View pdf file stored in oracle database through oracle forms

    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    I have created external directory and am able to load pdf files in oracle database table called test_blob.
    CREATE TABLE test_blob (
    id NUMBER(15)
    , file_name VARCHAR2(1000)
    , image BLOB
    , timestamp DATE
    I have 2 pdf files in the table. I want to view this pdf from forms when the user clicks on the button. On when-button-pressed trigger I want to show pdf on the screen. Any help is appreciated. Not on the designer. I want to run form application.
    SELECT id, file_name,
    DBMS_LOB.GETLENGTH(image) Length,
    timestamp
    FROM test_blob
    ID|FILE_NAME|LENGTH|TIMESTAMP
    1001|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:44:41 AM
    1002|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:51:07 AM
    Edited by: user_anumoses on Jan 28, 2013 11:45 AM

    We were able to do the same thing with Oracle Application Server and Oracle WebLogic Server. I cannot remember how different the processes were, but it seems like they were very similar. I am going to give you the instructions on how we implemented a "Read PDF" procedure on the WebLogic Server. If you are still on the Application Server you may have to do some Google searches, but it all boils down to the mod_plsql DAD Configuration file.
    Our PDF was located in a table with the following structure:
    CASE_DOCUMENTS
       (id_document                    NUMBER NOT NULL,
        doc_blob                       BLOB,
        note                           VARCHAR2(240),
        created_by                     VARCHAR2(20) NOT NULL,
        created_dt                     DATE NOT NULL,
        case_id                        NUMBER NOT NULL,
        filename                       VARCHAR2(100) NOT NULL)Based on that table structure we created a procedure named READ_PDF which you will reference below in the dads.conf file below:
    CREATE or REPLACE procedure read_pdf (p_id_document IN number)
    is
      view_file     blob;
    BEGIN
      select doc_blob
        into view_file
        from case_documents
       where id_document = p_id_document;
      OWA_UTIL.MIME_HEADER ('APPLICATION/PDF', FALSE);
      HTP.P ('CONTENT-LENGTH: ' || DBMS_LOB.GETLENGTH (view_file));
      OWA_UTIL.http_header_close;
      WPG_DOCLOAD.download_file (view_file);
    END;
    GRANT EXECUTE ON read_pdf TO financial_user_role  -- Name of role to execute
    /Basically, you are passing in one parameter and that is the primary key for your table. You are selecting the pdf stored in a BLOB for that primary key. The commands below that allow the pdf to open up so you can view it – we got this off some search we did a few years ago.
    Now, you need to add logic to your Oracle Form that will call the procedure above, but the URL is based on the dads.conf file that we will set up below… Anyway, we created a button on the form module with a label of "View". In the WHEN-BUTTON-PRESSED trigger the logic looks like this:
    -- The View logic uses the DAD (Database Access Descriptors) method to view a .pdf file from the form.
    -- The DAD was created on WebLogic Server  with the name findadgen.  This allows an http request be made
    -- to the database.
    declare
      v_file          varchar2(400);
      v_success       boolean;
      ret_val         number;
      v_http_link     varchar2(400);
    begin
      -- The format of the link is as follows: hostname:port/pls/DAD_name/procedure_name
      v_http_link := 'http://finas03:8888/pls/findadgen/read_pdf?p_id_document=' || :case_documents.id_document;
      web.show_document(v_http_link, '_BLANK');
    end;The name of our WebLogic Server is "finas03" so that is what is listed in the URL. The "findadgen" is the name of the <Location> in the dads.conf file below, the "read_pdf" is the name of the procedure we created above, the "p_id_document=" is the IN parameter listed in the READ_PDF procedure created above, and the ":case_documents.id_document" is the reference to the primary key in our Oracle Form.
    For WebLogic, you can either go through Enterprise Manager (directions below) or update the dads.conf file on the filesystem directly (if you update the dads.conf file directly then skip to step 4 and ignore step 5):
    1.     Enterprise Manager -> Web Tier -> ohs1
    2.     Oracle HTTP Server (pull-down) – Administration – Advance Configuration
    3.     Select File – dads.conf
    4.     Add something similar:
    # ============================================================================ 
    #                     mod_plsql DAD Configuration File                         
    # ============================================================================ 
    # 1. Please refer to dads.README for a description of this file                
    # ============================================================================  
    # Note: This file should typically be included in your plsql.conf file with 
    # the "include" directive. 
    # Hint: You can look at some sample DADs in the dads.README file 
    # ============================================================================
    <Location /pls/findadgen>
        SetHandler pls_handler
        Order allow,deny
        Allow from All
        AllowOverride None
        PlsqlDatabaseUsername financial
        PlsqlDatabasePassword sdo_3#d1
        PlsqlDatabaseConnectString ffindbTNSFormat
        PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
        PlsqlAuthenticationMode Basic
        PlsqlDefaultPage read_pdf
    </Location>You are adding the <Location> section to your dads.conf file. The "finddadgen" is the name that you will reference in a change you fill make to your Oracle Form. The "financial" is the Schema, the "sdo_3#d1" is the password for that Schema, the "ffindb" is the database that the stored procedure is located on, and the "read_pdf" is a stored procedure you will have to create in order to read the pdf.
    5.     Press the "Apply" Button
    6.     Obfuscate the DAD password by running the dadTool.pl script located in $ORACLE_HOME/bin (This was done on Unix on our server with the following commands):
    $> LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
    $> cd $ORACLE_HOME/bin
    $> perl dadTool.pl -f /u01/app/oracle/middleware/asinst_1/config/OHS/ohs1/mod_plsql/dads.conf
    7.     Restart the Oracle HTTP Server using Fusion Middleware Control:
    Enterprise Manager -> Web Tier -> ohs1
    Oracle HTTP Server – Control – Shutdown
    Oracle HTTP Server – Control – Start Up
    If you followed the instructions above, you should have created a stored procedure, added logic to your Oracle form to reference that stored procedure, and created an entry in the dads.conf file. Once you move the form onto the server and you restart the HTTP Service, you should be able to view a pdf that is stored in a table directly from your Oracle Form.

  • How to view history in oracle database?

    hi..
    is there any method to view history of sqlplus command in oracle database ?.
    This is because i would like to know what my vendor done to the oracle..
    Thank you,
    baharin

    This is because i would like to know what my vendor done to the oracle..Interesting enough.
    There is no direct method to view the commands executed from SQL*Plus.
    If that sqlplus session was launched on Windows platform AND the command window buffer was already set to a higher value AND you have not yet closed that command window then you can launch sqlplus again in the same window and go through the history of commands.
    Else, you can try mining your archive logs (assuming your database is in archive log mode), find out the commands executed from that particular session and hope you get all of them (as some commands are/were not supported by log miner).

  • INVALID Oracle Database Catalog Views 10.1.0.5.0

    I am trying to resolve an INVALID state on the Oracle Database Catalog Views component of an Oracle 10.1.0.5.0 database.
    I was trying to resolve an issue with Data Pump by running: catalog.sql, catproc.sql and catexp.sql as SYS to add the EXFSYS schema.
    Doing this made the Oracle Database Catalog Views go INVALID.
    I have 61 invalid objects after running utlrp.sql, 26 of these are owned by SYS.
    Anyone know of a good way to resolve this issue or a metalink note, other link they can guide me to? I would like to avoid having to rebuild the database.
    Thanks!!!

    Anyway .... this is how to resolve this issue:
    Note: Ensure that the SHARED_POOL_SIZE and JAVA_POOL_SIZE parameters are set to at least 150M each, and then restart the instance in MIGRATE mode and execute catpatch as detailed in the following steps:
    Before starting this process, notify users of database that the database will be unavailable for approximately 2 hours. Proceed with proper notification procedures before shutting down the database.
    1.     sqlplus /nolog
    2.     spool $ORACLE_HOME/rdbms/log/catpatch_ddmmyy.log
    3.     connect / as sysdba
    4.     alter system set shared_pool_size = 200M scope=spfile; (if necessary)
    5.     alter system set java_pool_size = 150M scope=spfile; (if necessary)
    6.     shutdown immediate
    7.     startup migrate
    8.     @$ORACLE_HOME/rdbms/admin/catpatch.sql
    9.     spool off
    10.     shutdown immediate
    11.     startup
    12.     (validate): select comp_name,version,status from dba_registry;

  • Oracle Apps Standard Database Views not appearing in OBIEE

    Hi
    I am trying to select the Standard database views of oracle apps.
    for example  PO_HEADERS_V,  PO_LINES_V.....etc.
    I am unable to see in the (import metadata ) page.
    I have selected the options (Tables, Keys, forign key, View)
    Thanks
    Ahmed

    What do you mean by "changes don't appear"? Don't appear where? Are you using row-wise initialization of the Group variable? If so, have you turned off caching for it?
    -Dave

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

  • Can I define tables/views of another oracle database as data sources in DBI?

    Hi!
    Assuming I created a dblink between an Oracle EBS database and another oracle database and I wish to create custom dashboards and reports in Oracle Daily Business Intelligence, will the tables/views from the another oracle database be allowed as the data sources?
    Thanks.

    Pl do not post duplicates - Can I read data from other database and tables in Oracle Daily Business Intelligence?
    Whether the custom tables are in the same database or a separate database is a trivial issue - a database link and local synonyms can easily mask where the tables are located.

  • Column 'Blocked' of view v$instance in Oracle Database 10g

    Hi All,
    What is the description of column "blocked" of view "v$instance" in Oracle Database 10g?
    I could not find the information in Oracle® Database Reference
    10g Release 2 (10.2)
    Thanks and Regards,
    Vaibhav

    SQL> describe v$instance
    Name Null? Type
    INSTANCE_NUMBER NUMBER
    INSTANCE_NAME VARCHAR2(16)
    HOST_NAME VARCHAR2(64)
    VERSION VARCHAR2(17)
    STARTUP_TIME DATE
    STATUS VARCHAR2(12)
    PARALLEL VARCHAR2(3)
    THREAD# NUMBER
    ARCHIVER VARCHAR2(7)
    LOG_SWITCH_WAIT VARCHAR2(15)
    LOGINS VARCHAR2(10)
    SHUTDOWN_PENDING VARCHAR2(3)
    DATABASE_STATUS VARCHAR2(17)
    INSTANCE_ROLE VARCHAR2(18)
    ACTIVE_STATE VARCHAR2(9)
    BLOCKED VARCHAR2(3)
    SQL> select version from v$instance;
    VERSION
    10.2.0.2.0

  • How to view current connections to an Oracle database?

    Howdy all.
    Can/Will anybody tell me how to view the current connections to an Oracle database? I would like to be able to see what connections are happening, what username the connection is under, what the hostname is (the machine the connection is coming from), and also what SQL or PL/SQL is currenlty being executed (if any).
    wally

    select username,osuser,sql_address,sql_hash_value,logon_time,machine,terminal,program from v$session;
      1  select sql_text,piece from v$sqltext sq, v$session se
      2  where sq.hash_value = se.sql_hash_value
      3  and sq.address = se.sql_address
      4  and se.username = 'SCOTT'
      5* order by piece
    SQL> /
    SQL_TEXT                                                              PIECE
    select dummy from dual                                                    0

  • How to connect to Oracle Database table using xquery (using 'ora:view')

    Hi,
    I am new to this forum and JDeveloper, but I am trying to use xquery accessing an Oracle database, but I can't seem to get it working, nor can I find what I am doing wrong.
    The xquery statement I (try to) use is:
    for $x in ora:view("TOU_TEST")
    return $x/txt
    (In which "TOU_TEST" is the table with column 'txt')
    But I get this "Dutch" error message:
    Er moet een JDBC-standaardverbinding beschikbaar zijn voor de functie 'ora:view'.
    (basically giving an error message about the default JDBC connection).
    I've searched a lot (Technet, Google, JDeveloper Help), but can't find out what I am doing wrong.
    Could you tell me what I am doing wrong/ how to solve this?
    Thanks a lot.
    Greetings,
    Tom

    Hi Friend,
    Try this.
    "Declaration.
    data : begin of zemployee.
               Include structure zeployee542.
    data : end of zemployee.
    *in screen give field name as <zemployee-Fieldname>
    case 'OK_CODE'.
    WHEN 'SAVE'.
          perform fill_data.
    ENDCASE.
    form FILL_DATA .
    move-corresponding zemployee  to  zeployee542.
    insert zeployee542.
    clear : zemployee, zeployee542.
    endform. " FILL_DATA
    Reward if you find usefull

Maybe you are looking for

  • In Elements 9 How can I edit text?

    I've created a book cover with several layers. I need to insert a space in the title, but when I click on that text the edit box layer on the right jumps out of that text box into another layer. IS THERE A WAY TO GET TO THAT TEXT ANYMORE?! Many many

  • Itunes bought a song without my help?

    i was buying a song from a completely different artist and when i looked at my downloads it showed a song downloading that i bought with the entire album about two months ago... i wasn't even on the artists page. i stopped it from downloading and it

  • Mail won't upgrade in ML

    After installing ML Mail will finish upgrading the database, progress bar just sits in place for hours but doesn't time out.  Anyone else had this issue?

  • Interface Determination under Enhanced Receiver Determination Scenario

    Hi, One of the very basic assumption for Enhanced Receiver Determination is that Receivers are found at run time, and one of the such requirement is that we don't know about Receiver  Business System at the time of configuration. Now for such scenari

  • Output templates - Bridge CS5 to CS6

    I created PDF output templates in Bridge CS6. How can I import / copy these into Bridge CS6 so I don't have to recreate them manually? I'm working on a Mac.