Interface screen to Oracle database

We are using oracle10g database. Customers calls ops team and ask about their security questions.
Every time, we need to run the sql query and find answers for them. We are getting lot of request
every day. I wanted to develop interface and i want ops team use the interface to pull the data.
Here are my thoughts...
1. using oracle APEX to develop interface.
2. Use the excel to write macro and get the answers for user request.
3. I can write a PLSQL to run the batch job and extract the data into excel and give it to ops team.
Please share if you have any other options...

You may consider Oracle SQL Developer for that purpose.
(http://www.oracle.com/technology/products/database/sql_developer/index.html)
But I don't like to use this tool in your production environment, so please ensure the user only has privileges that they need (e.g. SELECT on table and not DELETE, etc).

Similar Messages

  • What's the best option for event generation from an Oracle database?

    Hi all,
    I need to interface from an oracle database into WLI (or elink if need be). The
    code that needs to call this interface is written in pl/sql in the database.
    What is the best way to enable the pl/sql to make a call to WLI?
    I know you can set up an event trigger on a table using the sample DBMS adapter
    so that it will send info to WLI via the events table in the database but this
    is what they call a pull event(i.e. the adapter is actually polling this table
    for whenever an event gets put into it I think).
    Has anyone ever done a push type event? (e.g. calling java code from pl/sql that
    sends event to WLI)
    Or anyone know whether the new JCA for Oracle Applications will help with this?
    I am using Oracle 8.1.7 so don't have any extras with Oracle Apps.
    thanks all
    adam

    Adam,
    I have not implemented an push event adapter with Oracle. However, I
    know the trend that seems to be happening in the industry and I can say
    I agree 100% with it's implementation. I am seeing vendors using
    Oracle's Advanced queuing features to push events out to other
    applications. One interface for AQ is PL/SQL using DBMS_AQ, DBMS_AQADM,
    and DBMS_AQELM packages, so you would not have to rewrite your current
    business logic. Although I have not done the leg work, logically, this
    would be the approach I would take if tasked to implement an Oracle
    event adapter.
    For more information register (free) for an account on Oracle Technology
    Network (OTN), then go to the following URL:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96587/toc.htm
    Note: (the url goes to Oracle9i, as I couldn't find the link to 8i, but
    8i AQ in will work just as well)
    Cheers,
    Chris
    Adam Finlayson wrote:
    Hi all,
    I need to interface from an oracle database into WLI (or elink if need be). The
    code that needs to call this interface is written in pl/sql in the database.
    What is the best way to enable the pl/sql to make a call to WLI?
    I know you can set up an event trigger on a table using the sample DBMS adapter
    so that it will send info to WLI via the events table in the database but this
    is what they call a pull event(i.e. the adapter is actually polling this table
    for whenever an event gets put into it I think).
    Has anyone ever done a push type event? (e.g. calling java code from pl/sql that
    sends event to WLI)
    Or anyone know whether the new JCA for Oracle Applications will help with this?
    I am using Oracle 8.1.7 so don't have any extras with Oracle Apps.
    thanks all
    adam

  • Want to see on screen data from oracle database using php

    I am struggling on the problem of echoing data from Oracle database (9i) to the screen for viewing. For ex. the data has records from various cities. when a particular city is inputted as prompt, all the records for the that city from the table should appear through PHP. Can someone help me?

    Thank you very much for giving the link. I tried and it is working. Only, I am still struggling with trying to get many fields from the database on the screen for viewing. Ex. a prompt to ask which country and which month. If I give India and December it must give all the data pertaining to India for December. This AJAX was very useful, as it gave lot of tips, but my basic query to see the data thru PHP from my database is still unsolved. Any help??
    Jacob
    Thanks once again for the help.

  • How to take Input from the callers telephone keypad into oracle database

    My client requires to automate a registration task for his customers by telephone. The requirement is the Oracle database should take numeric input from the callers telephone keypad eg 1 or 2 or 3 and the oracle must store this input inside its database and do some required processing with such input and generate a unique numeric id (sequence) and send back this unique numeric ID to the caller who is on hold. Please Note. Is there any electronic device to be installed at the client site to solve the above task eg. any telephone line to be connected to the CPU and etc?
    I completely have zero knowledge. Please can you outline/summarise the instructions how to construct and install to meet my client requirement.
    If this is not possible in Oracle I Can migrate to any database. Please suggest.
    please help me. if you cant help i appretiate if you give me some clues

    You need to start with your telephone system. Normally this situation would involve some sort of PBX or other internal switching equipment. Talk to your vendor. There's likely to be software, etc. available to perform the interaction with the end user.
    It should have programmable "hooks" to interface with various databases. To Oracle it just looks like another program.
    Ken

  • Sample Response File for Oracle Database 12c Standard Edition on Oracle Linux 6.4 -- working

    oracle@styles-and-artists-development-oracle database]$ cat response/db_install.rsp
    ## Copyright(c) Oracle Corporation 1998,2013. All rights reserved.##
    ## Specify values for the variables listed below to customize     ##
    ## your installation.                                             ##
    ## Each variable is associated with a comment. The comment        ##
    ## can help to populate the variables with the appropriate        ##
    ## values.                                                        ##
    ## IMPORTANT NOTE: This file contains plain text passwords and    ##
    ## should be secured to have read permission only by oracle user  ##
    ## or db administrator who owns this installation.                ##
    # Do not change the following system generated value.
    oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0
    # Specify the installation option.
    # It can be one of the following:
    #   - INSTALL_DB_SWONLY
    #   - INSTALL_DB_AND_CONFIG
    #   - UPGRADE_DB
    oracle.install.option=INSTALL_DB_AND_CONFIG
    # Specify the hostname of the system as set during the install. It can be used
    # to force the installation to use an alternative hostname rather than using the
    # first hostname found on the system. (e.g., for systems with multiple hostnames
    # and network interfaces)
    ORACLE_HOSTNAME=styles-and-artists-development-oracle
    # Specify the Unix group to be set for the inventory directory. 
    UNIX_GROUP_NAME=oracle
    # Specify the location which holds the inventory files.
    # This is an optional parameter if installing on
    # Windows based Operating System.
    INVENTORY_LOCATION=/home/oracle/oracleInventory
    # Specify the languages in which the components will be installed.            
    # en   : English                  ja   : Japanese                 
    # fr   : French                   ko   : Korean                   
    # ar   : Arabic                   es   : Latin American Spanish   
    # bn   : Bengali                  lv   : Latvian                  
    # pt_BR: Brazilian Portuguese     lt   : Lithuanian               
    # bg   : Bulgarian                ms   : Malay                    
    # fr_CA: Canadian French          es_MX: Mexican Spanish          
    # ca   : Catalan                  no   : Norwegian                
    # hr   : Croatian                 pl   : Polish                   
    # cs   : Czech                    pt   : Portuguese               
    # da   : Danish                   ro   : Romanian                 
    # nl   : Dutch                    ru   : Russian                  
    # ar_EG: Egyptian                 zh_CN: Simplified Chinese       
    # en_GB: English (Great Britain)  sk   : Slovak                   
    # et   : Estonian                 sl   : Slovenian                
    # fi   : Finnish                  es_ES: Spanish                  
    # de   : German                   sv   : Swedish                  
    # el   : Greek                    th   : Thai                     
    # iw   : Hebrew                   zh_TW: Traditional Chinese      
    # hu   : Hungarian                tr   : Turkish                  
    # is   : Icelandic                uk   : Ukrainian                
    # in   : Indonesian               vi   : Vietnamese               
    # it   : Italian                                                  
    # all_langs   : All languages
    # Specify value as the following to select any of the languages.
    # Example : SELECTED_LANGUAGES=en,fr,ja
    # Specify value as the following to select all the languages.
    # Example : SELECTED_LANGUAGES=all_langs 
    SELECTED_LANGUAGES=en
    # Specify the complete path of the Oracle Home.
    ORACLE_HOME=/extended2/oracleBase/db12c1
    # Specify the complete path of the Oracle Base.
    ORACLE_BASE=/extended2/oracleBase
    # Specify the installation edition of the component.                    
    # The value should contain only one of these choices.       
    #   - EE     : Enterprise Edition                               
    #   - SE     : Standard Edition                                 
    #   - SEONE  : Standard Edition One
    #   - PE     : Personal Edition (WINDOWS ONLY)
    oracle.install.db.InstallEdition=SE
    # PRIVILEGED OPERATING SYSTEM GROUPS                                          #
    # Provide values for the OS groups to which OSDBA and OSOPER privileges       #
    # needs to be granted. If the install is being performed as a member of the   #
    # group "dba", then that will be used unless specified otherwise below.       #
    # The value to be specified for OSDBA and OSOPER group is only for UNIX based #
    # Operating System.                                                           #
    # The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
    oracle.install.db.DBA_GROUP=osdba
    # The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
    # The value to be specified for OSOPER group is optional.
    oracle.install.db.OPER_GROUP=osoper
    # The BACKUPDBA_GROUP is the OS group which is to be granted OSBACKUPDBA privileges.
    oracle.install.db.BACKUPDBA_GROUP=bckdba
    # The DGDBA_GROUP is the OS group which is to be granted OSDGDBA privileges.
    oracle.install.db.DGDBA_GROUP=dbdba
    # The KMDBA_GROUP is the OS group which is to be granted OSKMDBA privileges.
    oracle.install.db.KMDBA_GROUP=kmdba
    #                               Grid Options                                  #
    # Specify the type of Real Application Cluster Database
    #   - ADMIN_MANAGED: Admin-Managed
    #   - POLICY_MANAGED: Policy-Managed
    # If left unspecified, default will be ADMIN_MANAGED
    oracle.install.db.rac.configurationType=
    # Value is required only if RAC database type is ADMIN_MANAGED
    # Specify the cluster node names selected during the installation.
    # Leaving it blank will result in install on local server only (Single Instance)
    # Example : oracle.install.db.CLUSTER_NODES=node1,node2
    oracle.install.db.CLUSTER_NODES=
    # This variable is used to enable or disable RAC One Node install.
    #   - true  : Value of RAC One Node service name is used.
    #   - false : Value of RAC One Node service name is not used.
    # If left blank, it will be assumed to be false.
    oracle.install.db.isRACOneInstall=
    # Value is required only if oracle.install.db.isRACOneInstall is true.
    # Specify the name for RAC One Node Service
    oracle.install.db.racOneServiceName=
    # Value is required only if RAC database type is POLICY_MANAGED
    # Specify a name for the new Server pool that will be configured
    # Example : oracle.install.db.rac.serverpoolName=pool1
    oracle.install.db.rac.serverpoolName=
    # Value is required only if RAC database type is POLICY_MANAGED
    # Specify a number as cardinality for the new Server pool that will be configured
    # Example : oracle.install.db.rac.serverpoolCardinality=2
    oracle.install.db.rac.serverpoolCardinality=
    #                        Database Configuration Options                       #
    # Specify the type of database to create.
    # It can be one of the following:
    #   - GENERAL_PURPOSE/TRANSACTION_PROCESSING                      
    #   - DATA_WAREHOUSE                               
    oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
    # Specify the Starter Database Global Database Name.
    oracle.install.db.config.starterdb.globalDBName=cbd
    # Specify the Starter Database SID.
    oracle.install.db.config.starterdb.SID=cdb1
    # Specify whether the database should be configured as a Container database.
    oracle.install.db.ConfigureAsContainerDB=true
    # Specify the  Pluggable Database name for the pluggable database in Container Database.
    oracle.install.db.config.PDBName=pdb1
    # Specify the Starter Database character set.
    #  One of the following
    #  AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
    #  EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
    #  BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
    #  AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
    #  IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
    #  KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
    #  ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
    oracle.install.db.config.starterdb.characterSet=AL32UTF8
    # This variable should be set to true if Automatic Memory Management
    # in Database is desired.
    # If Automatic Memory Management is not desired, and memory allocation
    # is to be done manually, then set it to false.
    oracle.install.db.config.starterdb.memoryOption=true
    # Specify the total memory allocation for the database. Value(in MB) should be
    # at least 256 MB, and should not exceed the total physical memory available
    # on the system.
    # Example: oracle.install.db.config.starterdb.memoryLimit=512
    oracle.install.db.config.starterdb.memoryLimit=512
    # This variable controls whether to load Example Schemas onto
    # the starter database or not.
    oracle.install.db.config.starterdb.installExampleSchemas=true
    # Passwords can be supplied for the following four schemas in the             #
    # starter database:                                                           #
    #   SYS                                                                       #
    #   SYSTEM                                                                    #
    #   DBSNMP (used by Enterprise Manager)                                       #
    # Same password can be used for all accounts (not recommended)                #
    # or different passwords for each account can be provided (recommended)       #
    # This variable holds the password that is to be used for all schemas in the
    # starter database.
    oracle.install.db.config.starterdb.password.ALL=CDBadmin12345#
    # Specify the SYS password for the starter database.
    oracle.install.db.config.starterdb.password.SYS=CBDsys12345#
    # Specify the SYSTEM password for the starter database.
    oracle.install.db.config.starterdb.password.SYSTEM=PDBsys12345#
    # Specify the DBSNMP password for the starter database.
    oracle.install.db.config.starterdb.password.DBSNMP=DBsnmp12345#
    # Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
    oracle.install.db.config.starterdb.password.PDBADMIN=PDBadmin12345#
    # Specify the management option to use for managing the database.
    # Options are:
    # 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
    # 2. DEFAULT   -If you want to manage your database using the default Database Express option.
    oracle.install.db.config.starterdb.managementOption=DEFAULT
    # Specify the OMS host to connect to Cloud Control.
    # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
    oracle.install.db.config.starterdb.omsHost=
    # Specify the OMS port to connect to Cloud Control.
    # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
    oracle.install.db.config.starterdb.omsPort=
    # Specify the EM Admin user name to use to connect to Cloud Control.
    # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
    oracle.install.db.config.starterdb.emAdminUser=
    # Specify the EM Admin password to use to connect to Cloud Control.
    # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
    oracle.install.db.config.starterdb.emAdminPassword=
    # SPECIFY RECOVERY OPTIONS                                                    #
    # Recovery options for the database can be mentioned using the entries below  #
    # This variable is to be set to false if database recovery is not required. Else
    # this can be set to true.
    oracle.install.db.config.starterdb.enableRecovery=true
    # Specify the type of storage to use for the database.
    # It can be one of the following:
    #   - FILE_SYSTEM_STORAGE
    #   - ASM_STORAGE
    oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE
    # Specify the database file location which is a directory for datafiles, control
    # files, redo logs.        
    # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
    oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/extended1/db/data
    # Specify the recovery location.
    # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
    oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=/extended1/db/recovery
    # Specify the existing ASM disk groups to be used for storage.
    # Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE
    oracle.install.db.config.asm.diskGroup=/dev/oracleasm
    # Specify the password for ASMSNMP user of the ASM instance.                
    # Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
    oracle.install.db.config.asm.ASMSNMPPassword=ASMsnmp122345#
    # Specify the My Oracle Support Account Username.
    #  Example   : [email protected]
    MYORACLESUPPORT_USERNAME=
    # Specify the My Oracle Support Account Username password.
    # Example    : MYORACLESUPPORT_PASSWORD=password
    MYORACLESUPPORT_PASSWORD=
    # Specify whether to enable the user to set the password for
    # My Oracle Support credentials. The value can be either true or false.
    # If left blank it will be assumed to be false.
    # Example    : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
    # Specify whether user doesn't want to configure Security Updates.
    # The value for this variable should be true if you don't want to configure
    # Security Updates, false otherwise.
    # The value can be either true or false. If left blank it will be assumed
    # to be false.
    # Example    : DECLINE_SECURITY_UPDATES=false
    DECLINE_SECURITY_UPDATES=flase
    # Specify the Proxy server name. Length should be greater than zero.
    # Example    : PROXY_HOST=proxy.domain.com
    PROXY_HOST=
    # Specify the proxy port number. Should be Numeric and atleast 2 chars.
    # Example    : PROXY_PORT=25
    PROXY_PORT=
    # Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
    # blank if your proxy server requires no authentication.
    # Example    : PROXY_USER=username
    PROXY_USER=
    # Specify the proxy password. Leave PROXY_USER and PROXY_PWD 
    # blank if your proxy server requires no authentication.
    # Example    : PROXY_PWD=password
    PROXY_PWD=
    # Specify the proxy realm.
    # Example    : PROXY_REALM=metalink
    PROXY_REALM=
    # Specify the Oracle Support Hub URL.
    # Example    : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
    COLLECTOR_SUPPORTHUB_URL=
    # Specify the auto-updates option. It can be one of the following:
    #   - MYORACLESUPPORT_DOWNLOAD
    #   - OFFLINE_UPDATES
    #   - SKIP_UPDATES
    oracle.installer.autoupdates.option=SKIP_UPDATES
    # In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
    # the updates are to be downloaded.
    # In case OFFLINE_UPDATES option is chosen, specify the location where the updates
    # are present.
    oracle.installer.autoupdates.downloadUpdatesLoc=
    # Specify the My Oracle Support Account Username which has the patches download privileges 
    # to be used for software updates.
    #  Example   : [email protected]
    AUTOUPDATES_MYORACLESUPPORT_USERNAME=
    # Specify the My Oracle Support Account Username password which has the patches download privileges 
    # to be used for software updates.
    # Example    : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
    AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

    This is the simplest installation you can get, but if you want to do a fast response file based installation, there it is.

  • How to extract data from essbase to oracle database incrementally?

    I have to extract data from essbase to an oracle database table incrementally using informatica , can anyone tell me how to do it or give me some tips. I have been thinking about it for a whole day but have no ideas.
    I cannot do the delete & insert method because this oracle database table is a interface table that has to deliver the data to Oracle ESB tables.
    Thanks in advance....

    Hi,
    Have you read through :-
    Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
    Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
    If you have read them and are still have a problem at what stage are you having the issues?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to delete data before insert in oracle database

    Hi friends,
    I have one scenario.I want to send data from sap to Oracle database.Befor i am inserting data in database table,i want to clean/delete all the records in the table .This interface will run twice in a day.Can any body help me.
    SAP-PI-JDBC
    Thanks
    Ravi

    Hi Puneet,
    As per u r suggestions,i am using stored procedure.But i am getting following error.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. MASTERXXXXXX' (structure 'Statement'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'NAME' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)'
    I have define below structure.Please check the structure and guide me.
    <Statement
            Action   attribute  required
            Table 
    Access  
            Empname   string
            Empid         string
            date            date
              Type     attribute   required
    EXECUTE----
    >Action
    Table----
    >MASTERXXXXXX
    Type----
    >char
    Please check the above structure andguide me to changes if any requires.
    Thanks
    Ravi

  • Check "Problem: Oracle Database 10g Release 2 can only be installed in new

    Hi All
    Installing 10g software on AIX Box in /oracle/oraHome2,where oracle9i is already installed in /oracle/oraHome1 and oracle inventory is in /oracle/inventory
    In product specific prerequisite screen I am getting the
    check:Oracle Home incompatibilties is failed I am getting the error
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for Oracle Home incompatibilities ....
    Actual Result: Oracle9i Database 9.2.0.1.0
    Check complete. The overall result of this check is: Failed <<<<
    Problem: Oracle Database 10g Release 2 can only be installed in a new Oracle Home
    Recommendation: Choose a new Oracle Home for installing this product
    though I am installing it in different oracle homes why i am getting this error?
    Is it because 10g installation is picking the same oracle inventory /oracle/inventory
    do i need to make different oracle inventory for different oracle homes???????plz confirm..is thats the reason i am getting this error??????
    Thanks inadvance
    Gagan

    I figure out you are trying to install 10gR2 on top of an existing 9iR2 Oracle Home. This is corrected at the Path definition window. Most probably you just click on the <Next> and by default the 9iR2 Oracle Home was selected. You must define a new oracle home for the 10gR2 install.
    ~ Madrid

  • Error while installing Oracle Database Lite 10.2.0.1.1 for Win

    Hello,
    I am trying to install Oracle Database Lite 10.2.0.1.1 on Windows XP. I am going according screens on this page:
    http://www.oraclebrains.com/2008/07/installing-oracle-database-lite-10g-release-3-mobile-server/
    But at Step:12 - Mobile Server repository Wizzard after password enter I get error --- Io exception: The Network Adapter could not establish the connection. May I insert specific password for Username SYSTEM? Or where is problem?
    Thanks for hint
    David

    Hi,
    I have the same problem but, how can i know what my SID is ? i am trying with "ORCL" and it doesnt work.
    Do you know in which file i can get it ? in the documentation of the installation i found this:
    "If you are not sure of the values to enter for the URL, then you can query the data dictionary to obtain these values.
    Connect as SYSTEM and run the following queries.
    To retrieve the SID, execute: select instance_name from v$instance;
    If you need to retrieve the port number, check the listener.ora file on the
    back-end database."
    But how can i query the database if i have not finished to install it yet and where is located the listener.ora file ?
    I hope you can help me.
    Thank you.

  • Flat file to Oracle Database - Invalid Month

    Hi All
    I am New to XI and trying to create a simple interface between Legacy system (flat file) and Oracle database.
    I have some date fields in the Oracle table.
    When i run the interface it says "invalid month" with some SQL exception number.
    I am using (mm/dd/yyyy) format for the date.
    Is there any conversion i need to do. I am using XML SQL format for Oracle database.
    Any help is appreciated.
    Thanks
    Nagakishore

    Hello,
    Oracle is very picky with the way date is stored. Assume that you have a field datefield that you need to save. In mapping add an attribute hasqQuote and set it to "NO". When mapping the value to the node use to_date as shown below.
    <DateField hasQuot="No">
       TO_DATE("2004-07-20", "yyyy-mm-dd hh:mi:ss")</DateField>
    cheers,
    Naveen

  • Installation error message for Oracle Database software for version 10g

    Would someone be able to advise why I keep getting the following error message whilst installing Oracle trial Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition? Link listed below : -
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html
    Error message "Cannot create directory"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp"
    Below is the 12 steps that I go through, please advise what I'm doing wrong : -
    1. (Operations) default is Create a database
    2. (Database templetes) default is general purpose
    3. (Database Identification) projemp.local for Global database name & projemp for SID
    4. (Management options) default is "Configure the database with Enterprise manager, also the options button has been clicked for "Use database control for database management"
    5. (Database Credentials) the options button has been clicked for "Use the same password for all accounts" so I've set up a new password, was that correct?
    6. (Storage options) the options button is clicked for "File System - use the file system for database storage.
    7. (Database file locations) the options button is clicked for "Use database file locations for template" Is this option correct? Other options are Use common location for all database files or use Oracle-managed files?
    8. (Recovery configuration) the options button is clicked for "Specify flash recovery area
    9. (Database content) nothing has been selected, the only option is "Sample schemas" should that be clicked?
    10. (Initialization parameters) the options button is clicked for "Typical- allocate memory as a % of the total physical memory
    11. (Database storage) no options available
    12. (Creation options) the options button has been selected for "Create Database"
    Click finish
    I then get a screen stating General purpose, click OK then I get the following error message as stated at the start of this e-mail ""Cannot create directory"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp".
    Regards
    Phil

    855880 wrote:
    I have been trying to install the "Oracle Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition" about six times with no success.Do you realize you just mentioned 3 different and distinct products? So which one are you installing?
    >
    I've gone through my courses instructions as listed above (1-12) and end up with the following error message"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp".What course?
    >
    I've removed the software from my computer using control panel, programs & features then uninstall once but the other five times the software hasn't been listed. Whilst the Oracle was on my task bar I was able to install using Start > Programs > Oracle - HOME-NAME > Database Administration > Database Configuration Assistant.No you didn't. Database Configuration Assistant does not remove software. It can remove a database. As I mentioned before, there is a difference between the software and the objects that software manages. Deleting an Excel spreadsheet is not the same as deleting Microsoft Office. Deleting an Oracle database with Database configuration assistant is not the same as removing the Oracle software.
    >
    Now that oracle is not on my task bar I've unzipped the link below, clicked on db, Disk1, setup, changed the Database password (is that correct?) install and I get the following error message "Check complete. The overall result of this check is: Failed<<<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses;
    However, before you can do this, you must configure the Microsoft LoopBack Adaptor to be the primary network adapter on the system. See the installation Guide for more details on installing the software on systems configured with DHCP."
    So what did you do with the above error message? Did you follow up on what it said? Did you read the very fine Installation Guide that comes with the software? Did you read the section on networking considerations where it discussed DHCP assigned addresses and installing the loopback adapter?
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html
    Ok, that link takes us to the download page, which does not shed any light at all on your problems
    I'm using Windows Vista Home Premium, 32 bit operating system, and my computer is saying I have 142 GB free space.
    If you read the installation manual that came with the downloaded software, you'd have seen in the prerequisites that Home editions of Windows are NOT listed as supported platforms, whereas Business, Enterprise, and Ultimate editions specifically ARE listed as supportd.
    Hope this is some help.And
    I'm not to clever on computers so would you be able to advise how I get to the command window to issue the SET command please?
    Also I've no idea what OS user I am, I'm taking an on-line Oracle course and been advised to install "Oracle Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition"
    How do I find out if I'm part of an Administrator, ORA_DBA group ?
    Can you walk me through how to create the directory from command line please?Ok, given the above statements from you, I'm not even sure where to begin. I don't want to be cruel, but this self-admitted lack of even the most rudimentary knowledge by someone attempting to learn about Oracle is truly astounding. What course are you taking? Why are you taking this course?

  • Performance problems loading an XML file into oracle database

    Hello ODI Guru's,
    I am trying to load and XML file into the database after doing simple business validations. But the interface takes hours to complete.
    1. The XML files are large in size >200 Mb. We have an XSD file for the schema definition instead of a DTD.
    2. We used the external database feature for loading these files in database.
    The following configuration was used in the XML Data Server:
    jdbc:snps:xml?f=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xml&d=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xsd&re=initialLoad&s=CM&db_props=oracle&ro=true
    3. Now we reverse engineer the XML files and created models using ODI Designer
    4. Similar thing was done for the target i.e. an Oracle database table as well.
    5. Next we created a simple interface with one-to-one mapping from the XSD schema to the Oracle database table and executed the interface. This execution takes more than one hour to complete.
    6. We are running ODI client on Windows XP Professional SP2.
    7. The Oracle database server(Oracle 10g 10.2.0.3) for the target schema as well as the ODI master and work repositories are on the same machine.
    8. I tried changing the following properties but it is not making much visible difference:
    use_prepared_statements=Y
    use_batch_update=Y
    batch_update_size=510
    commit_periodically=Y
    num_inserts_before_commit=30000
    I have another problem that when I set batch_update_size to value greater that 510 I get the following error:
    java.sql.SQLException: class org.xml.sax.SAXException
    class java.lang.ArrayIndexOutOfBoundsException said -32413
    at com.sunopsis.jdbc.driver.xml.v.a(v.java)
    The main concern is why should the interface taking so long to execute.
    Please send suggestions to resolve the problem.
    Thanks in advance,
    Best Regards,
    Nikunj

    Approximately how many rows are you trying to insert?
    One of the techniques which I found improved performance for this scenario was to extract from the xml to a flat file, then to use SQL*LOADER or external tables to load the data into Oracle.

  • 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.

  • Uploading data to an Oracle Database

    Hi there,
    We have an Oracle database and an application for data entry, etc. Some of my users do not want to use the data entry forms but would like to send us files either in text/xml to upload into our system. I have previously used text_id to parse text files and load them into a database, but am wondering if there is a better way of doing this either through web services, xml parsing, etc. If you've solved a similar problem using newer technologies, I would greatly appreciate your input.
    Thanks.
    Azeem.

    Hi Michel,
    Thank you so much for replying to my query. I have used SQL Loader in the past but since this is going to be an ongoing data transfer (load), I wanted to experiment with something new such as web services or XML. I think my users use XML and have expressed an interest in sending me XML files, that I would like to automatically load into the system. I'm not sure if I should provide them a forms interface to read their files, parse the data, and then upload it, and give them a bad file, or if I should look at something else.
    Thanks.
    Azeem.

  • Problems accessing tables in oracle database with ejb entity bean

    I have created a simple server application that uses an entity bean (version 2.0) for an existing table in oracle database, and a session bean that is used as an outside interface for performing operations on that table.
    after deploying the server and client application the client attempts to perform an operation with the session bean remote interface it obtained.
    The session bean uses a locale interface to communicate with the entity bean, but when it tries to use its methods (create, findByXXX) it always get the following Exception: java.sql.SQLException: ORA-00942: table or view does not exist.
    the table of course exists, and the username password I'm using has all the permissions needed for this table.
    note - I'm using the Forte enterprise edition 4.0 as developer tool.
    I'll be glad to get some help.
    Here is the full stack trace of the exception:
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.EJBException: nested exception is: java.sql.SQLException: ORA-00942: table or view does not exist
    javax.ejb.EJBException: nested exception is: java.sql.SQLException: ORA-00942: table or view does not exist
    java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
    at com.sun.ejb.persistence.SQLEngine.ejb20Finder(SQLEngine.java:226)
    at com.sun.ejb.persistence.PartitionImpl.ejbFinder(PartitionImpl.java:736)
    at com.cti2.telco.core.ejb.entity.userInfo.UserInfoEJB_PM.ejbFindByEmail(UserInfoEJB_PM.java:393)
    at com.cti2.telco.core.ejb.entity.userInfo.UserInfoEJB_PM_LocalHomeImpl.findByEmail(UserInfoEJB_PM_LocalHomeImpl.java:64)
    at com.cti2.telco.core.ejb.UserManagerEJB.authenticate(UserManagerEJB.java:77)
    at com.cti2.telco.core.ejb.UserManagerEJB.authenticate(UserManagerEJB.java:68)
    at com.cti2.telco.core.ejb.UserManagerEJB_EJBLocalObjectImpl.authenticate(UserManagerEJB_EJB
    LocalObjectImpl.java:63)
    at com.cti2.telco.core.ejb.dispatch.TelcoFacadeEJB.userLogin(TelcoFacadeEJB.java:80)
    at com.cti2.telco.core.ejb.dispatch.TelcoFacadeEJB_EJBObjectImpl.userLogin(TelcoFacadeEJB_EJBObjectImpl.java:24)
    at com.cti2.telco.core.ejb.dispatch._TelcoFacadeEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:519)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:204)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    ...

    Well it seems like the problems has a simple explanation. The Forte assigns a default table name (<entityName>EJBTable) when creating an entity bean from an existsing table in DB (which is not the same as the one it was created from !!!). Also, for reason unknown, when you deploy these entity beans, it doesn't even create the new table under its new name (even if instructed to).
    So using the Forte we managed to use successfuly only entity beans that were created "from scretch" (when deployed their tables are created).
    Does anyone know how to change the default name the Forte uses, and make it work properly with entity beans created from an existsing table (without going over the xml's) ?

Maybe you are looking for

  • Home Sharing with Multiple PCs and Apple IDs

    My wife and I both have our own computers with our own Itunes, Apple IDs, and Itouches. Since we obviously share a bank account we want to be able to share the music that we by from the Itunes store with each other. If we both want a song there is no

  • Messages not displaying in Outlook 2013

    I recently purchased a new computer and installed my Office 2013 software on it. Outlook does not display any message at all in the Inbox. All subfolders display correctly and they appear in the Inbox when I use OWA.  Creating a new Outlook profile d

  • EDI 855 (Order Confirmation)

    One of our customers is requiring us to send them an EDI 855 whenver we change a sales order.  They only want the 855 if something is changed.  I thought about using output type BA00 with message type ORDRSP, however the idoc doesn't tell you what ha

  • Deploy workshop EAR to nonworkshop domain

    I have a application I developed using workshop. I have a basic domain running on Unix. I want to deploy the app to the domain. I tried creating a new workshop domain, but it wants me to configure a database. I don't have a database and for some reas

  • Deleting Originals to Clear Space on Hard Drive

    Hello! I am undertaking the endeavor of going through the 20,000 pictures I have stored on my MacBook/first external hard drive. I am deleting the unnecessary images and am planning on exporting the ones I want to keep to another external hard drive.