How to run script .sql

Hi
eBS
DB: 11.1.7
APS: R12.1.2
Does anyone who can guide me how to run script for .sql
I need command on how to execute this |
Run the script poxrespo.sql in the PO_TOP/sql directory
Thanks

Does anyone who can guide me how to run script for .sql
I need command on how to execute this |
Run the script poxrespo.sql in the PO_TOP/sql directoryConnect as apps user to SQL*Plus as run the script.
Make sure COMMIT is issued -- Release Notifications Error - ORA-20002 2018 Unable To Generate The Notification Content [ID 342734.1
Thanks,
Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to run the SQL Script in SQL Prompt?

    Hi ExpertGroup,
    I have written one SQL Script name called "MySQLSCript.SQL". I want to know how to run the SQL Script in SQL Prompt?.
    Generally, I run SQL Script in PL/SQL Developer tool. But In this case, some SET command is not working/supporting in PL/SQL Developer Tool.
    Let me know, How to Run in SQl Prompt.
    Thanks & Regards,
    Senthil K Kumar.

    This is my SQL Script....
    SET COLSEP '|'
    SET LINESIZE 32767
    SET PAGESIZE 50000
    /* SET LINESIZE 3000
    SET PAGESIZE 50000
    SET DEFINE OFF */
    SET ECHO OFF
    SET FEEDBACK OFF
    --SET HEADING OFF
    SET TRIMSPOOL ON
    SET NEWPAGE NONE
    SET UNDERLINE OFF
    SPOOL &&EnterPath;
    SELECT * FROM &&TableName;
    SPOOL OFF
    SET FEEDBACK ON
    --SET DEFINE ON
    PROMPT Done.
    I am able to run this script in SQL Prompt....
    Its executing fine...
    But, If I am executing again it maynot asking for new set of data....
    alternativily its taking old values only.....
    how can i exeute with new set of data in the sql prompt.....

  • How to run script file ( unix script file like ksh or sh file) using Java

    How to run script file ( unix script file like ksh or sh file) using Java Program?.
    I am using the following code snippet to run the simple commands like top or ls ,etc....
    Runtime runtime = Runtime.getRuntime();
    Process proc = runtime.exec("top");
    Thanks In Adavance
    -Siva

    String [] { "ksh" , "-c" , "script", "arg 1", "arg 2", "arg 3"}

  • How to run a SQL manually with the same SQL_ID

    I want to know how to run a SQL which comes from application side manually so that same SQL_ID is generated. I am aware that even if there is a small change in the sql(even a space) the sql_id gets changed. CURSOR_SHARING_PARAMETER is similar in my DB.
    Thanks
    Rudresh

    I think you really want is the execution plan (plan_hash_value), what about outlines ?
    HTH
    Antonio NAVARRO

  • How to run PL/SQL commands in this SQL browser

    How to run PL/SQL commands in this SQL browser

    This discussion should help Re: my pl/sql codes does not run in express edition what can i do????

  • How to run wfstatus.sql  for i-Expenses

    how to run wfstatus.sql for i-Expenses in 11i EBS.

    Pl see MOS Doc 295078.1 (Maintenance Pack, Patchset, and Rollup Patch Level for Internet Expenses 11i)
    HTH
    Srini

  • How to run scripts ?

    I would like to know how to run scripts with xgrid.
    From the Xgrid Admin manual, page 37, I created a file and added
    !#/bin/sh
    /bin/echo "Hello, World!"
    saved the file, and gave chmod 755 hello.sh
    When I run at the command line, "Hello, World" is displayed. But as Apple mentioned in the same page of the manual, I did this at the command line
    xgrid -h localhost -p mypassword job submit hello.sh
    Job id is displayed. Say it is 67.
    I could see in the Admin interface that job is sumbitted and running. After finishing, at the command line I did a
    xgrid -h localhost -p mypassword job results -id 67
    Nothing is displayed. Am I doing right or missing something ?
    Appreciate any help.

    A little comment: add to your bashrc file (in /etc/)
    export XGRIDCONTROLLERHOSTNAME=yourcontroller
    export XGRIDCONTROLLERPASSWORD=yourpass
    so that you don't need to use -h and -p options all the time.
    Am I wrong or shouldn't your commands be -job (notice the dash before job)?
    I suppose because otherwise you would get a help page. Also, I suppose your beggining of file is #! instead of the inverse...
    Did you try using run instead of submit? You should see the output right away.
    What is the status of the job in Xgrid Admin? What happens if you use -so to direct the output to some file?

  • How to run a sql script in oracle forms

    Hi,
    For me there is an sql script. I need to run that sql script in forms.
    Actually we will run that sql file in pl/sql developer by giving @and the file name.
    But how to run that file in forms.
    Can any one help on these.Which book I have to look.
    Thanks

    Actually there is a script files which will drop all the indexes and tables.
    DROP querry will be there for each index and each table.
    So I run the script all the indexes and all the tables will be deleted. So using forms I have to run that script.
    Thanks

  • How to run scripts of sql

    Hi
    how run sql scripts for example see below,
    For Release 12+, i2471362.sql is delivered with the release with version 120.0
    The module can be found in $INV_TOP/patch/115/sql
    Run i2471362.sql periodically to clean-up orphaned rows in the MTL_DEMAND and MTL_RESERVATIONS tables.
    any idea
    thanks

    Hi,
    As applmgr/oracle user, login to SQL*Plus (as APPS user) and run the script.
    $ sqlplus apps/<apps password>
    SQL> @i2471362.sqlStandard Cleanup Scripts for INVDVDSD - SUPPLY/DEMAND in 11.5.10.2, 12.0 and 12.1 [ID 372170.1]
    11i/R12: Clean Up Scripts - Inventory Reservations Not Relieved for Closed Sales Orders [ID 199887.1]
    MRPRPROP - Reorder Point Report Shows Incorrect Data In Open Demand Qty [ID 300260.1]
    Thanks,
    Hussein

  • How to Run a .sql file from simple java class

    How to execute a .sql file consisting of Complex Queries,procedures through simple java class.
    The queries may have different delimiters,queries independant of each other.
    I am able to do with Specific De-limiter.But I need in such a way that there should not be any
    Constraints. Since My .sql may Contain different De-limiters.
    If any one can Suggest Some Solution.
    It will be Great Help.
    regards
    Anil

    Check out ibatis script runner, it' a third party library but quite handy for running sql files...
    m

  • How to run script file Oracle XE?

    Hi there,
    I'm new here. I've just started on a tutorial (i.e. ADF) and it requires me to run a script, i.e.
    SQLPLUS>Start <tutorial_install>\scripts\build.sql
    How do I run this in Oracle XE?
    The content of the build.sql is included below.
    The build.sql also calls other sql scripts in the same directory.
    I can't seem to get this to run in the SQL command prompt in Oracle XE. Can you please help?
    Thanks,
    Will
    build.sql contains the following...
    REM Main build Script for the SRDemo schema, objects and demo data
    REM To be run from SQL*Plus conected as a DBA
    REM Note you can also run this SQL install from ANT
    REM Schema Owner SRDEMO is parameterized to allow for simpler workshop /
    REM classroom setup where only one shared server is available
    REM $Id: build.sql,v 1.5 2005/12/22 22:46:41 duncan Exp $
    SET FEEDBACK 1
    SET NUMWIDTH 10
    SET LINESIZE 132
    SET TRIMSPOOL ON
    SET TAB OFF
    SET PAGESIZE 999
    SET ECHO OFF
    SPOOL SRDemo_Install.log
    REM Define the changable data
    DEFINE DEMO_SCHEMA = SRDEMO
    DEFINE DEMO_SCHEMA_PASSWORD = ORACLE
    REM Create the schema owner - this can fail if the
    REM Script has alreadt been run, but that's OK as the first
    REM Step of the createSchemaObjects is to drop the existing objects just in case
    @@createSchema &&DEMO_SCHEMA &&DEMO_SCHEMA_PASSWORD
    REM connect to user account and invoke the scripts that create schema objects.
    CONNECT &&DEMO_SCHEMA/&&DEMO_SCHEMA_PASSWORD
    @@createSchemaObjects
    REM Add the triggers needed for the ADF BC version of the Demo
    @@createSequenceTriggers
    REM Add the sample data to the tables
    @@populateSchemaTables
    REM And Commit all that
    commit;
    REM Report Back
    Prompt What OBJECTS were created?
    column object_name format a30
    column object_type format a30
    select object_type,
    object_name
    from user_objects
    group by object_type, object_name
    order by object_type desc, object_name
    Prompt ------------------------------------------------------
    Prompt
    Prompt Are there any INVALID OBJECTS?
    select      object_type,
    object_name
    from user_objects
    where status='INVALID'
    group by object_type, object_name
    order by object_type desc, object_name
    Prompt Disconnecting....
    disconnect
    spool off

    I've just started on a tutorial (i.e.
    ADF) and it requires me to run a script, i.e.
    SQLPLUS>Start <tutorial_install>\scripts\build.sql
    How do I run this in Oracle XE?You must start SQL*Plus (SQL Command Line) and there execute the script.
    For more info about using SQL*Plus take a look here:
    http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJABIFFE
    HTH

  • How to run script in HP -UNIX

    Hi all,
    I am facing problem in running oracle scripts in HP-Unix..
    In nohup option i can`t able to use @ symbol...
    can anyone suggest me how to run ???its urgent
    In solaris i usually run like below
    nohup sqlplus -s data/data @script.sql &
    but i cant do the same in HP-Unix please some one tell me how to run??

    Hello Kirupa,
    this is from the HPUX FAQ, maybe it helps:
    Subject: 8.14 Why can't I type an '@' character?
    If you do a 'stty -a' and you will see that your 'kill' character is
    set to '@'. You need to set your 'kill' character to be something
    other than the '@' character by doing something like 'stty kill '^U''.
    You should add this to your .profile or .cshrc file.
    Kind regards

  • How to run @catbundle.sql

    Hello
    we are planning to apply patch for our Oracle RDBMS 11.2.0.2(3 node RAC) on RHEl 5.6.The patch is GI PSU 11.2.0.2.7
    Now in the post-installation steps i need to run catbundle.sql script, for that do i need to shutdown the database(all instances), startup only one instance, run the script and start the database(all instances) or i can run the script from one instance with all remaining instances up and running.
    Thanks

    Hi;
    As mention here you can find how you should use catbundle.sql in patch's read me part.
    I suggest also review:
    catbundle.sql - FAQ [ID 834644.1]
    Introduction To Oracle Database catbundle.sql [ID 605795.1]
    Regard
    Helios

  • How to run recordset SQL query in FORM DATA event

    How can I run recordset SQL query in FORM DATA event upon clicking on Add button in the document?

    Hi Slamet,
    When you receive a form data event you have a class containing inside it a ObjectKeys xml info regarding the object added/modified,...
    With the objects keys you can then use the DI API method called GetByKeys to obtain the DI Object.
    There is some information about it in the SDK Help file, mainly in the "FormDataEvent" class definition:
    <i>The event provides the unique ID (BusinessObjectInfo.ObjectKey) of the modified business object. You can use the value of this property as an input parameter in the DI API DataBrowser.GetByKeys method to get a DI object.</i>
    Pay attention you don't have this information in the Before=True event of the Add as it is not yet in the database.
    Hope it helps
    Trinidad.

  • How to run the .sql file in sql prompt?

    i want to run the .sql file in sql prompt

    Hi,
    You can navigate to the directory where the .sql files is stored and launch the SQL Prompt.
    After you login, you can run your script like this :
    SQL>@my_script.sql;
    Regards,
    Sandeep

Maybe you are looking for