Help to get executed statement

Hi!. I am going to sync remote databases with queues. I have already configured the queues, but now i need to get the statements that are executed to send them to the queues and then execute the same on the other side of the queue. So is there a way i can capture the statemens (insert,update,delete).
Thanks!.
Pamela

http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html
The above might be of help to you if you are in oracle 11g. Otherwise check this
http://www.oracle.com/technology/products/dataint/pdf/twp_streams_replication_10gr2.pdf

Similar Messages

  • How to get SQL statement from (Collection) query.execute();

    We have a JDO Persistence class ClassName that execute query using following code. After this statement get executed, record does not get updated in the DB. Is there a way to check what SQL statement got submitted in the (Collection) query.execute(); ??? <br><br>
    Extent extent = pm.getExtent(ClassName.class, false); <br>
    Query query = null; <br>
    try { <br>
    query = pm.newQuery(extent, filter); <br>
    Collection results = (Collection) query.execute();<br>
    Iterator i = results.iterator();<br>
    if (i.hasNext()) {<br>
    ...<br>
    }<br>

    You can always find out the names of tables that are views, using java.sql.DatabaseMetaData and its getTables() method.
    This tends to be a nice source of examples:
    javaalmanac.com
    However, if you're asking for the underlying SQL used to CREATE VIEW, I don't see anything in the API that will give you that. After all, JDBC shouldn't have to know if it's dealing with an ordinary table or a view. I think you'd have to ask your DBA for the underlying SQL.
    Once you have it, what do you plan to do with it?
    %

  • Wat is wrong in this decode function, it doesn get executed,please help me

    wat is wrong in this decode function, it doesn get executed,please help me
    decode(DVI.COMPANY||'.')||
                                            DECODE(DVI.COST_CENTRE||'.')||
                                            DECODE(DVI.ACCOUNT||'.')||
                                            DECODE(DVI.LOCATION||'.')||
                                            DECODE(DVI.PRODUCT||'.')||
                                            DECODE(DVI.FUTURE)company_id,

    Hi,
    I could not understand what you are trying to do with decode here.
    The standard way of using the decode is like :
    SQL>SELECT DECODE (1 , 1 ,'TRUE','FALSE') FROM DUAL;
    DECO
    TRUE
    1 row selected.
    1* SELECT DECODE (1 , 0 ,'TRUE','FALSE') FROM DUAL
    SQL>/
    DECOD
    FALSE
    1 row selected.
    Please explain what you want to do with DECODE ?
    Regards

  • VO is not getting executed or retains the previous state of execution

    Hi,
    We have a UI for the Party Site. Under this UI, you see the address for the party. When u change the address for the party, the old party site is inactivated and a new party site would be created. Assume that all the possible set of locations already exists in the system.
    Structure of the Business Components
    Page is linked to PartyAM
    PartySitesVO -> Linked to PartySiteEO
    PartySiteVO is linked to PartyAM
    Validation VO - PartySiteInCustomerAccountSiteVVO is part of AM - PartyVAM
    In the PartySiteEO - When we double click, open the EO and go to Properties section, we see the below.
    Properties
    ======
    VAMDef : xxx.oracle.apps.xxad.schema.server.PartyVAM
    We call partysiterow.validate() to call the validateEntity() function of the PartySiteEO which is overridden.
    protected void validateEntity()
    super.validateEntity();
    PartyEntityExpert expert = PartySiteEOImpl.getEntityExpert(getOADBTransaction());
    if (expert.isPartySiteInCustomerAccountSite(getPartySiteId().toString())
    System.out.println("Throwing the exception");
    else
    System.out.println("Not Throwing the exception");
    Package xxx.oracle.apps.xxad.schema.server;
    public class PartyEntityExpert extends OAEntityExpert
    public boolean isPartySiteInCustomerAccountSite(String partySiteId)
    PartySiteInCustomerAccountSiteVVOImpl vvo =
    (PartySiteInCustomerAccountSiteVVOImpl)
    findValidationViewObject("PartySiteInCustomerAccountSiteVVO");
    vvo.initQuery(partySiteId);
    return vvo.hasNext();
    public class PartySiteInCustomerAccountSiteVVOImpl extends OAViewObjectImpl
    public void initQuery(String partySiteId)
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, partySiteId);
    executeQuery();
    PartySiteInCustomerAccountSiteVVO
    =======================
    SELECT 1
    FROM hz_cust_accounts a, hz_cust_account_sites_all b
    where a.cust_account_id = b.cust_account_id
    AND a.status = 'A'
    AND b.status = 'A'
    AND b.party_site_id = :1
    Using this VO we want to check, if we have an active account site linked to party site or not.
    Assume we have two party site Ids 100, 200
    PS - 100 is not linked to AccountSite
    PS - 200 is linked to Active Account Site.
    Now the problem is, we have a FOR loop where we loop through all the PartySiteIDs fetched.
    When the partySiteRow.validate() is called for the first time with say PartySiteID = 100, the PartySiteInCustomerAccountSiteVVO gets executed and no rows will be fetched, so false would be returned.
    When the next itteration happens and partysiteRow,validate() is called, PartySiteID = 200 is passed to PartySiteInCustomerAccountSiteVVO and still no row is returned. Ideally, I should get a row. When I run the same PartySiteInCustomerAccountSiteVVO query in toad for PartySiteUD = 200, I get 1 as the output.
    I am not quite sure, if using the PartyVAM and PartyAM and something around transaction state or VO state has anything to do with the VO cache.
    Please let me know, if you see any logical error into the above kind of setup. Aslo, let me know, if you have any questions in understanding this.
    Thanks
    Saurabh
    Edited by: SaurabhAg on Mar 7, 2012 10:43 AM

    Hi,
    I am just pasting the log messages near to the VO execution. What I have done is, I have hard coded the same PartySiteID, just before calling the executeQuery in VOImpl. If you look at the log message, when the first time the VO executes, it fetches the row which is correct. But when the VO is executed again for the same or different party site id, to me it looks like, it is not at all executing the query.
    In this case, since the PartySiteID is hard coded, it should return 1 row each time the executeQuery is called from VOImpl.
    public void initQuery(String partySiteId)
    partySiteId = "25880390";
    System.out.println("party site id in initQuery : " + partySiteId);
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, partySiteId);
    executeQuery();
    [2254] Loading from /xxx/oracle/apps/xxad/schema/server/PartySiteInCustomerAccountSiteVVO.xml file
    party site id in initQuery : 25880390
    [2255] Column count: 1
    [2256] ViewObject : Created new QUERY statement
    [2257] PartySiteInCustomerAccountSiteVVO>#q computed SQLStmtBufLen: 274, actual=234, storing=264
    [2258] select party_site_id cust_account_site_exists
    from ar.hz_cust_accounts ca
    , ar.hz_cust_acct_sites_all cas
    where CA.STATUS = 'A'
    and CA.CUST_ACCOUNT_ID = CAS.CUST_ACCOUNT_ID
    and CAS.STATUS = 'A'
    and cas.party_site_id = :1
    [2259] Binding param 1: 25880390
    Row party site id : 25880390
    Row is not null, Account Site exists : 1
    party site id in initQuery : 25880390
    [2356] Column count: 1
    [2357] ViewObject : Reusing defined prepared Statement
    [2358] Binding param 1: 25880390
    Please see, if you can provide me some directions or approaches which I can try.
    Thanks
    Saurabh
    Edited by: SaurabhAg on Mar 8, 2012 1:33 AM

  • Queries are not getting executed in the EJB

    Hi,
    I am using Stateless EJB for database transactions. I have one getConnection() method in it which I am calling in every method for connection. I have created one more method in that I am executing one simple query for count(*) from one table and returning the count in the Web dynpro application. But I am not getting the count. It seems the query is not getting executed. I have added classes12 jar externally to the EJB and also to the WebDynpro application. Is there anything I am missing????
    Thanks,
    Swati Gaur

    Hi Swati Gaur,
    Did you print any logs in the your code to print the count after executing the query?
    For debugging purpose you can try
    System.err.println("Count after executing the query "+count);
    count is the variable which contains the count after executing the sql query.
    Check for the above statement in default trace. If count is printing in default trace then the problem is in your webdynpro code.
    Hope this helps!
    Regards,
    Jaya.

  • Procedure executes statement and exists prematurely

    I have been getting so much incredible help, I figure why stop now!
    I have the following procedure. It runs perfectly until it gets to the line marked "--THIS LINE GETS EXECUTED AND THEN THE ROUTINE EXITS". I suspect this has something to do with all the begin..end statements but without them I get invalid sql statements errors. Any advice on how I can make this work?
    PROCEDURE INTERPRET_LOOP
        p_MasterTable   IN  VARCHAR2,
        p_PrimaryIDField IN VARCHAR2)
    AS
        cursor TableName_Tab IS
            select distinct DBTABLENAME from DATASPECIFICATIONS;
        v_TableName VARCHAR2(25);
        CURSOR FieldNames_Tab (cv_TableName VARCHAR2) IS
            select distinct SHORTNAME, QCTYPE, LOWVALUE, HIGHVALUE from DATASPECIFICATIONS where DBTableName = cv_TableName;
        v_FieldName VARCHAR2(25);
        v_QCType VARCHAR2(100);
        v_High VARCHAR2(25);
        v_Low VARCHAR2(25);
        v_SQL VARCHAR2(2000);
    BEGIN
        OPEN TableName_Tab;
        Loop
            Fetch TableName_Tab into v_TableName;
            Exit when TableName_Tab%NOTFOUND;
            --interpret each field based on data type
            --select list of fields and types to loop through
            OPEN FieldNames_Tab(v_TableName);
            Loop
                Fetch FieldNames_Tab into v_FieldName, v_QCType, v_High, v_Low;
                Exit when FieldNames_Tab%NOTFOUND;
                If (instr(UPPER(v_QCType), 'RANGE') > 0) Then
                    v_SQL:= 'HT_QCINTERPRET.INTERPRET_'||UPPER(v_QCType)||'('''||UPPER(v_FieldName)||''', '''||v_Low||''||', '''||v_High||''||', '''||UPPER(v_TableName)||''');';
                ElsIf (instr(UPPER(v_QCType), 'DATA') > 0) Then
                    v_SQL:= 'HT_QCINTERPRET.INTERPRET_'||UPPER(v_QCType)||'('''||UPPER(v_TableName)||''');';
                Else
                    v_SQL:= 'HT_QCINTERPRET.INTERPRET_'||UPPER(v_QCType)||'('''||UPPER(v_FieldName)||''', '''||UPPER(v_TableName)||''');';
                End If;
                v_SQL := 'BEGIN '||v_SQL||' END;';
                execute immediate v_SQL;    --THIS LINE GETS EXECUTED AND THEN THE ROUTINE EXITS
            End Loop;
            --update DATAINFO table.  insert interpretation failures
            If v_TableName <> p_MasterTable Then
                v_SQL := 'insert into DATAINFO select p.'||UPPER(p_PrimaryIDField)||', 1, t.RECORDID, '''||UPPER(v_FieldName)||''', '||CURRENT_DATE||', p.DATAVRSN, '''||UPPER(v_QCType)||'''';
                v_SQL := v_SQL||' from '||UPPER(v_TableName)||' t left join '||UPPER(p_MasterTable)||' p on t.'||UPPER(p_PrimaryIDField)||' = p.'||UPPER(p_PrimaryIDField);
                v_SQL := v_SQL||' where t.'||UPPER(v_FieldName)||' is NULL and t.'||UPPER(v_FieldName)||'_IN is NOT NULL';
            Else
                v_SQL := 'insert into DATAINFO select p.'||UPPER(p_PrimaryIDField)||', 1, p.RECORDID, '''||UPPER(v_FieldName)||''', '||CURRENT_DATE||', p.DATAVRSN, '''||UPPER(v_QCType)||'''';
                v_SQL := v_SQL||' from '||UPPER(v_TableName)||' p ';
                v_SQL := v_SQL||' where p.'||UPPER(v_FieldName)||' is NULL and p.'||UPPER(v_FieldName)||'_IN is NOT NULL';
            End If;
            v_SQL := 'BEGIN '||v_SQL||' END;';
            execute immediate v_SQL;
            close FieldNames_Tab;
        End Loop;
        close TableName_Tab;
        commit work;
    END INTERPRET_LOOP;Thanks!!!!

    Hmmm,
    Interesting. Never typed a >< in here.
    Btw, try doing a dbms_output.put_line(V_SQL) before the execute immediate. i.e
            v_SQL := 'BEGIN '||v_SQL||' END;';
            dbms_output.put_line(v_SQL);
            execute immediate v_SQL;and see if that gets printed properly (and also as expected)
    -Arun
    Edited by: Arunkumar Ramamoorthy on Oct 22, 2009 1:08 AM

  • Avoid JDBC sender error: Execute statement did not return a result set

    Hi!
    My JDBC sender adapter towards MS SQL server works fine, with an Execute statement calling a stored procedure that returns the source data needed. The stored procedure itself updates the status of database table records, so that only the unread records are returned each time the stored procedure is called.
    However, the communication channel monitoring sets a red flag for the JDBC sender adapter, when there are no values to fetch from the database table (using the stored procedure). Message says: "Database-level error reported by JDBC driver while executing statement 'EXECUTE FetchMessage 1, 9000'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor."
    This is not an error situation, as I do not expect there to be any values to fetch from the database at all times.
    I do not see how to change the stored procedure to avoid this error.
    Is there a parameter to be set on the JDBC adapter that I can use, so the red flag is avoided?
    Thanks for any input!
    Regards,
    Oeystein Emhjellen

    Hi Oeystein Emhjellen.
    The problem is Store Procedure that has to generate always a ResultSet (or cursor). If it doesn't have a output, you have to generate an Empty ResultSet.
    Like a SELECT Statement:
    If there are data, SELECT get an output result but if it get nothing the SELECT Statement get a empty ResultSet.
    Ask to your database team.
    I hope it helps you.
    Bruno.

  • Error processing request in sax parser: Error when executing statement...

    Hello,
    I want to INSERT data from R/3 System to AS400 via JDBC adapter into a DB2 database. The interfaces from R/3 are Ok. but i have some problems to use the JDBC in DB2 Systems. The message in comunitation channel is:
    " Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPE106TST' (structure 'STATEMENT'): java.sql.SQLException: SPE106TST de SADMT1 no válido para la operación."
    in the SXMB_MONI -> Request Message Mapping payloads this:
    The connection to the database is fine, Sender adapter with a SELECT * works perfect.
    Please Can anyone help me solve this problem? I'm lost.
    Best regards,
    Edited by: Nicola Occhipinti on May 22, 2008 7:40 PM

    Hi Nicola,
    This error occurs when the receiver side structure is incorrect.
    Your structure seems to be correct.
    Please use lower case for action, access and table.
    Please check whether the field names are exactly the same as in the actual Database table sadmt1.SPE106TST.
    Check if the table has permissions to write.
    You can try an alternate structure without using table tag.
    <ns0:MT_XMLSQL_SPEC xmlns:ns0="urn:damm.com/pi/EmployeeMasterData">
    <STATEMENT>
    <sadmt1.SPE106TST action="INSERT">
    <access>
    <CODEMP>D</CODEMP>
    <CODPRO>00202339</CODPRO>
    <NOMPRO>ROSIQUE PERALSGENIS</NOMPRO>
    <DIRPRO>GIRONA</DIRPRO>
    <POBPRO>S. VICENS HORTS</POBPRO>
    <RUTA>0</RUTA>
    <ORDEN>0</ORDEN>
    <NOMINA>S</NOMINA>
    </access>
    </sadmt1.SPE106TST>
    </STATEMENT>
    </ns0:MT_XMLSQL_SPEC>
    Hope your problem gets solved.
    -Shamly

  • SQL not getting executed

    Hi,
    My sql below is not getting executed.There are no errors but even after long time it is not producing any thing (error or result).
    I am getting results till the statement SELECT D.budeptmap_v88_dept_id ,
    but when I right the last statement on top of this nothing is coming.
    select u.dw_code_skey,u.dw_code from dw.agg_inscope_top_nodes t, dw.dw_codes u
    where
    t.TOP_NODE_TR_HDR_SKEY = u.DW_CODE_TR_HDR_SKEY
    and u.DW_CODE_SUPERTYPE_CODE = 'DEPT'
    and u.DW_CODE_DW_CUR_IND = 'Y'
    and u.DW_CODE_DW_DEL_IND = 'N'
    and u.DW_CODE in(
    SELECT D.budeptmap_v88_dept_id
    from DW.CLIENT_ACCOUNTS C,DW.AON_V75_V88_BU_DEPT_MAP_SDO D
    WHERE D.budeptmap_v75_dept_id = '-1'
    AND D.budeptmap_v75_bu_id IN(C.cli_acct_producing_offICE_code)
    AND C.CLI_ACCT_DW_CUR_IND='Y'
    AND CLI_ACCT_SKEY IN (
    SELECT A.CLI_SUM_CLI_ACCT_SKEY
    FROM PROFIT.FACT_CLIENT_SUMMARIES A
    WHERE A.CLI_SUM_PERIOD_SKEY = 3
    AND A.DM1_TOT_ADJUSTED_REV_AMT =
    (SELECT MAX(DM1_TOT_ADJUSTED_REV_AMT)
    FROM PROFIT.FACT_CLIENT_SUMMARIES B
    WHERE B.CLI_SUM_ENTITY_SKEY =A.CLI_SUM_ENTITY_SKEY
    AND B.CLI_SUM_PERIOD_SKEY =3)))
    any help in tunning is highly appreciated.
    Thanks in advance

    how long does this query takes to complete?
            SELECT D.budeptmap_v88_dept_id
              from DW.CLIENT_ACCOUNTS C,
                   DW.AON_V75_V88_BU_DEPT_MAP_SDO D
             WHERE D.budeptmap_v75_dept_id = '-1'
               AND D.budeptmap_v75_bu_id IN (C.cli_acct_producing_offICE_code)
               AND C.CLI_ACCT_DW_CUR_IND = 'Y'
               AND CLI_ACCT_SKEY IN (SELECT A.CLI_SUM_CLI_ACCT_SKEY
                                       FROM PROFIT.FACT_CLIENT_SUMMARIES A
                                      WHERE A.CLI_SUM_PERIOD_SKEY = 3
                                        AND A.DM1_TOT_ADJUSTED_REV_AMT =
                                            (SELECT MAX(DM1_TOT_ADJUSTED_REV_AMT)
                                               FROM PROFIT.FACT_CLIENT_SUMMARIES B
                                              WHERE B.CLI_SUM_ENTITY_SKEY =A.CLI_SUM_ENTITY_SKEY
                                                AND B.CLI_SUM_PERIOD_SKEY =3))

  • When Validate Trigger is getting executed when Execute_query

    i have a data block in which i have 2 text item. i have defined when validate item.
    when the form is starting up i have given execute_query. before fetching the values my when validate item is getting executed. i dont want to do this. can one help me out in this case

    Hi,
    Can you pls. check any initial value is given or not? Otherwise for quick solution you can declare a parameter upon which when-validate will validate the value. You can change value before and after 'EXECUTE_QUERY' statement. This is not a good idea.

  • Customizing the code inspector with check for two executable statements in same line

    Hi Everyone,
    I have a reuirement to customize the code inspector.I need to create a check 'Two executable statements should not be in the same line'.
    While doing so i am facing one problem as in internal table it is capturing the report as word by word with same row number nd different line number.
    If anyone have worked on this before then help me out.
    I am using CL_CI_TEST_SCAN as superclass and making the changes in the run method.
    Regards,
    Khushboo

    In the source code you will have this in comment right, use the "#EC ENHOK.

  • In data template xml , dataQuery not getting executed

    hello i have the data template XML as :
    name of the file XMLPDF.xml
    <?xml version = "1.0" encoding="UTF-8" ?>
    <dataTemplate name="XMLTEST" description = "testing the" Version = "1.0">
    <properties>
    <property name="xml_tag_case" value="upper" />
    <property name="include_parameters" value="true"/>
    <property name="include_null_Element" value="true"/>
    </properties>
    <parameters>
    <parameter name="P1" dataType = "DATE"></parameter>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[
    SELECT CASH_RECEIPT_ID , AMOUNT , SET_OF_BOOKS_ID
    FROM AR_CASH_RECEIPTS_ALL
    WHERE STATUS = :P1
    ]]>
    </sqlStatement>
    </dataQuery>
    <datastructure>
    <group name = "G1" SOURCE = "Q1" groupFilter="">
    <element name="CASH_RECEIPT" value ="CASH_RECEIPT"/>
    <element name="AMOUNT" value="AMOUNT"/>
    <element name="SET_OF_BOOKS_ID" value="SET_OF_BOOKS_ID"/>
    </group>
    </datastructure>
    </dataTemplate>
    Date Definition:
    Name XMLPDF Code XMLPDF
    Application Receivables Start Date 07-Jan-2011
    Concurrent Program
    registered the report output xml and used the seeded executable XDODTEXE
    when i run the report output is:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <XMLTEST>
    <P1 />
    </XMLTEST>
    i do not see my query in the data template getting executed. i am expecting my 3 columns that i have defined in the query to be shown up in the output xml file.
    I'd really appreciate if someone can help me here. Thanks a lot

    <?xml version = "1.0" encoding="UTF-8" ?>
    <dataTemplate name="XMLTEST" description = "testing the" Version = "1.0">
    <properties>
    <property name="xml_tag_case" value="upper" />
    <property name="include_parameters" value="true"/>
    <property name="include_null_Element" value="true"/>
    </properties>
    <parameters>
    <parameter name="P1" dataType = "CHARACTER"></parameter>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[
    SELECT CASH_RECEIPT_ID , AMOUNT , SET_OF_BOOKS_ID
    FROM AR_CASH_RECEIPTS_ALL
    WHERE STATUS = :P1
    ]]>
    </sqlStatement>
    </dataQuery>
    <datastructure>
    <group name = "G1" SOURCE = "Q1" groupFilter="">
    <element name="CASH_RECEIPT" value ="CASH_RECEIPT"/>
    <element name="AMOUNT" value="AMOUNT"/>
    <element name="SET_OF_BOOKS_ID" value="SET_OF_BOOKS_ID"/>
    </group>
    </datastructure>
    </dataTemplate>
    i have modified the date datatype. im still seeing the same output. how do i change the element to be derived value? can you help me with the syntax.
    Thanks!

  • Error when executing statement for table/stored proc

    Hi All,
          I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
         In my stored procedure I have three insert statements to insert rows in to 3 tables.
        This stored procedure is working fine for two insert statements i.e, 
             For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
        when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
    <i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
    <i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
       Note:- I have run the stored procedure  with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
    <i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
    I am struck up with the error, can any body resolve this issue.
    Thanks in Advance,
    Murthy

    Hi narasimha,
                      This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
    Regards,
    Pragati

  • Help needed in executing pl/sql programs

    hi all
    iam new to PL/SQL programming
    i have installed oracle 9i
    iam trying to practice some sample pl/sql programs
    i have opened oracle 9i and typed these commands
    sql>ed sum
    then a notepad opens where i type my pl/sql program and save it and then return back to oracle 9i and type this
    sql>@ sum
    then my pl/sql program gets executed.......but iam not getting any output
    its comig as procedure implemented succesfully
    is it compulsory to open notepad to execute pl/sql progams or we can direclty type the programs in oracle 9i
    please help in this matter ASAP
    Regards
    Suresh

    Yes, you can type the program directly at the SQL prompt, but editing will be a bit difficult.
    You should use some good editor that allows you to edit properly and then run like you did.
    You need to do:
    SQL> set serveroutput onbefore running your program to see dbms_output messages.

  • In PO Release "PO release effected" is not getting executed

    Hi All,
               I am working on PO Release WorkFlow.
    when I execute the WF of PO release, its executing the first task "please release PO" but when I relase the PO from my work place the second step "PO release effected" is not getting executed. I could not found why this is happening.
    Please help me in this issue.
    Thanks.
    Ranganadh.

    Thank You Adithya,
                                     I have copied the standard one i.e. WS20000075. I am executing the workflow directly from the Workflow builde by giving the PO number and release code.
    with this in my business workplace I can able to find the workitem.
             I am releaseing the PO from the Workplace. After releasing the PO also I am getting the status of the workitem as "Inprocess".
             In workflow log I found that only first task (PO Released) has been executed the subsequent steps are not getting executed.
             Would be there any settings are missed out??
    Thanks.
    Ranganadh.

Maybe you are looking for

  • How can I get my old mail account back?

    I f&%€ up and deleted my old mail account after I had added my new one ( I've changed ISP). So all old mails disappeared. Is it possible to restore them my self? Or do I have to go to the Mac doctor? I'm greatful for all help

  • Creative suite 4 "unattended" install

    Im trying to deploy cs4 silently, but with a progress bar so users can see when it is finished installing (unattended). I know you could do that in cs3, but apparently from what ive found they dont do that anymore in cs4. Unless they have another mod

  • JSP Taglib Issues

    Hey there. I am deploying a WAR file on OC4J 9.0.4.0, and it has a taglib that I wrote as well as the "core" tld. I have made sure that my tag classes, my tld file, and my web.xml conform to JSP 1.2 as JSP 2.0 does not appear to be supported. I recei

  • SQL Loader - not working

    I have Oracle 11g R2 running on Windows Server 2008 R2 In trying to load data (csv file) with SQL Loader in Enterprise Manager it tells me the job completed successfully, but there is no data in the table. The bat file is created as is the ctl and sh

  • Konqueror home page

    I recently switch to konqueror from FF. After a couple of days it has started to use archlinux as its home page. I don know how I set it to this or how to change it.