PL/SQL Debugging not working on VS 2005

Hello,
I'm trying to debug a PL/SQL procedure from Oracle Explorer on Visual Studio 2005 SP1 (German), but it doesn't work. It seems as debugging runs, the process OracleDebugger.exe starts.
I can even stop debugging, and the process stops. But I can't "Step Into", and breakpoints are not reached. The procedure should insert a row, COMMIT is inside (only to test it). The row is not being inserted. When I only "Run" the procedure from Oracle Explorer, it works, the row is inserted.
The Output Windows shows only the following:
PL/SQL-Debugger wird gestartet.
PL/SQL-Debugger benutzt Port 55991 als Listener.
The port is open.
My config data:
- Oracle Server 10.2.0.3 running on development machine. CPUJan2007 applied.
- Visual Studio 2005 (German) with SP1
- ODAC (with ODT) 10.2.0.2.20
- Windows XP Professional SP2 (German)
- Oracle Application Debugging is not checked.
Debugging Oracle procedures from Visual Studio has never worked for me. I've read the forum, but I found no solution.
The trace file for the debugging (after ALTER system SET events = '10590 trace name context forever, level 4098';) contains the following:
*** SERVICE NAME:(<real SERVICE_NAME comes here>) 2007-04-12 11:01:57.154
*** SESSION ID:(517.97) 2007-04-12 11:01:57.154
kgasct_connect_tcp
kgasiu_init_uga
kgassn_setup_ns
kgassg_setup_gbh
kgassg_setup_gbh: initialized gbh 0x0A7DF9AC
kgasct_connect_tcp: connecting NS (ADDRESS=(PROTOCOL=tcp)(HOST=<real IP address comes here>)(PORT=55991))
kgasct_connect_tcp: nscall conn 0 conn_ns 0 32767 2048 2038 f4ffe9ff 6014 e881 0 c60e
kgasct_connect_tcp: nscontrol 10
skgaser_evt_register 0 1
skgaser_evt_register: sock 2500
skgascm_call_mon 0x05080000 1 2500
skgascm_call_mon: call 2680 0x1F15C8F0 2580
skgaser_evt_register: 0 2500
kgasct_connect_tcp: 0 0x1F15C8F0
kgass_send 0 14 0
kgass_send: 14 0 0 14 0
kgasr_recv 0 14 1 60 60
kgasra_recv_avail 0 60
skgasew_evt_wait 0 0
kgasra_recv_avail: 1 0 1
kgasr_recv: read 14 oer 0
kgasr_recv: 14 oer 193643544
kgass_send 0 25 0
kgass_send: 25 0 0 25 0
kgasr_recv 0 4 1 -1 180
kgasra_recv_avail 0 4294967295
skgasew_evt_wait 0 0
skgasew_evt_wait 0 30
Any help would be really appreciated.
Thank you.
Nicolas

Hm.. try setting your port range to 1271 up to 1271 since we know that port works. Make sure SQLDeveloper is closed down.
There was a memory corruption bug affecting ODT PL/SQL Debugging in 10.2.0.2.20 although so far I have only seen reports of it affecting Application Debugging. Maybe it is causing your problem. If that is the case, the odds are decent that this would work on another machine, or it may start working for you after opening random projects, etc. Try doing the debugging with no Visual Studio project open as well. I'll see if there are other diagnostics we can do.
If you could send an email to [email protected] so I can track this, that would be great!

Similar Messages

  • OC4J JSP Debugging not working for all the jsps

    Hi,
    Initially I was not able to debug jsps using Eclipse and OC4J. The jsp debugging started working once I made the below changes:
    1) global-web-application.xml is modified
    Changed the attribute development="true" in orion-web-app
    Added the below init param for the JspServlet
    <init-param>
    <param-name>debug</param-name>
    <param-value>class</param-value>
    </init-param>
    If the jsps are present in a sub directory under the webcontent none of the breakpoints are working. I am still be able to view the jsp pages on the browser.
    Tools: Oracle 10g Application Server Standalone version(10.1.3.5.0), JDK5, Windows XP, Eclipse Indigo
    Project Structure:
    Test (Eclipse Dynamic Web Project)
    -WebContent
    Sample.jsp ( Breakpoints are working)
    -subF (Folder)
    SubSample.jsp (Breakpoints are not working)
    -WEB-INF
    web.xml
    Debugging worked for http://localhost:8888/Test/Sample.jsp
    Debugging not working for http://localhost:8888/Test/subF/SubSample.jsp
    Any help is highly appreciated.
    Regards
    Danny

    This tells there is not enough main memory (not disk space) for the program to run.
    - You can look the dump in ST22, it will have suggestions on increasing the ROLLAREA??, you can forward that to Basis.
    - Most likely you will not have any more memory to assign so the above may not be feasible. Try to rework your query so it works with less data.

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • Force encryption on SQL Server not working?

    Hello Everyone,
    I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set  "Force Encryption"  and restarted SQL server. 
    I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
    that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
    When I connect to the same SQL server from the same client but  UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
    Ameer Deen

    Hi all,
    We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
    communications through SSL:
    http://technet.microsoft.com/en-us/library/ms191192.aspx
    When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
    B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
    We have also review the following forum post that is very similar to this one:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
    In all cases the Microsoft answer is:
    “When the
    Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
    connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
    When we run the provided DMV statement to check if encryption is enabled:
    -- To check whether connections are encrypted between server and clients
    SELECT encrypt_option
    FROM sys.dm_exec_connections
    We get “TRUE”. So theoretically encryption is enabled.
    Then:
    Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
    Are we wrong when we expect server A to refuse any client that do not have the right certificate?
    How can server B, without any certificate, decrypt the data encrypted by server A?
    Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
    anyone please confirm ti?
    Thanks for your help.
    Best Regards
    Benjamin Moles

  • Sql is not working after changing from MsAccess into sql server

    Following Sql  is not working after changing from MsAccess into sql server. 
    sum(trn.sales) as sales,
    sum(trn.cost) as cost,
    sales - cost as profit // Here is not working . can we not use sales a column. Please advise
    from trn
    Kind Regards
    pol
    polachan

    It will not work if use two different column from the table or column  from two  different table
    Example
    sum(trn.sales * trn.rate) as salesAmount,
    sum(trn.cost) as cost,
    sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
    from trn
    Regards
    polachan

  • SQL Logging not working in SSIS 2008

    Hello,
    I have packages created in SSIS 2008 and I am trying to enable logging in them. I specified a SQL Server provider and gave it a working SQL Server DB connection as the configuration. I chose to log all the events from the Details tab, then I executed the package. It ran without errors, but no logging occured. Actually neither the logging table, nor the stored procedure that should perform the loggign were created. These exact steps used to work with SSIS 2005 and they'd generate the table, stored proc and start storing logging information. For testing, I also added to the same package logging options a text logging and a SQL Profiler log providers. These were created successfully and have logs entered in them. I tried different DB connections on different servers, but still the table and sp are not even getting created. Any ideas?
    Best Regards,
    Ketara

    Had the same problem. When I read the documentation Microsoft explicitly states that you must use an OLEDB provider for SQL Server logging. I checked, and mine was the "SQL Server Native Client" rather than the "Microsoft OLE DB Provider for
    SQL Server". When I switched out the driver, it worked. 
    The log table is under System Tables called: dbo.sysssislog
    The stored procedure that populates the table is under System Stored Procedures called: dbo.sp_ssis_addlogentry

  • InDesign CS4 Debug not working on Windows

    Dear All,
    Two days back I purchased Bronze ASN memebership. This is the first time when I am trying debug version of InDesign. I have installed InDesign CS4 Debug on both Mac & Windows. On Mac it is working fine, but on windows it is not working.
    Debug Indesign is not getting launch and asking for re-installation. I have re-installed 2-3 times. Release version allready installed one my PC. I have tried with differeent combination like "install without Release version of InDesign", "insatalled on different drive", etc.
    I hope some one can help me to resolve this issue.
    Regards,
    Rajeev

    I think the Adobe terminology is Required not recommended, but the
    recommended build environment for CS4 plugins is Visual Studio 2005 plus
    service pack 1.
    As has been said many times on this list, and I can confirm from painful
    experience, you may have problems if you try to build your plugins with VS
    2008.
    Caerwyn

  • SAP* and DDIC locked and SQL commands not working

    Dear All,
    We work on ECC6 and SQL 2005 as database.Somehow our SAP* and DDIC user gets locked in production server client 240 and SID AEP
    I tried the following things but none worked.Every time getting error.
    1. First i tried to run the following command in SQLPLUS mode
    in th command prompt i typed sqlplus / nolog(then enter)
    I got the following error sqlplus is not recognized as an internal or external command,operable program or batch file.
    2 Then i thought may be we work on SQL database we may already be in the SQLprompt.Still when i typed conn / as sysdba,same error
    conn is not recognized as an internal or external command,operable program or batch file.
    3.Then i again go to the command prompt and typed
    delete* from sap<AEP>.usr02, where BNAME = ' sap* ' and MANDT = ' 240 '
    This time I get the system cannot find the file specified
    Anyone can please clear my following doubt.
    1. Am I requiredto go in SQLPLUS  mode even when we have SQL Database.
    2. How to unlock this SAP* and other super users.Cause yesterday somebody must have tried to login to sap*,ddic,and sapbasis and in the process locked all by entering the wrong password.
    PS: Other users are working as we have role based authorization
    Help will be highly obliged
    Regards,
    Ashutosh

    Hello, ive got a problem with the SAPDB abd SAP* and DDIC in Client 000
    in our PROD 000 client we forgot the password for SAP* , DDIC and cannot delete it.
    Now the account was locked. please help how to reset SAP * this account on SAPDB.
    Its DB Versio 7.7! I read a lot about that! Please, step by step, is that a problem of interface sqlcli, or rights?
    Please could somebody give me an feedback about sqlcli, could i delete it with this tool the user? Because SQL studio is damaged on that server. Failed installation,Will not work! could not remove!
    I have to configure the server! sorry, i am not so much familar with SAPDB
    in old releases the shema is SAPR3 the new (NW 7) is SAPSR3.
    Checked 701!
    please set login/no_automatic_user_sapstar to 0.= Done!
    At sql propmt: Thats no SAPDB sqxli command, right!!!!
    select * from sapsr3.usr02 where bname='sap*' and mandt='000';
    Thats doesnt work!
    When i logon with the superdba , the connect is fine!
    After the command execute
    D:\sapdb>sqlcli -U DEFAULT delete from sapsr3DB.usr02 where bname='sap*' and mandt ='000';
    -10757: XUSER error (the USERKEY is unknown)
    select * from sapsr3.usr02 where bname='sap*' and mandt='000'; Doesnt work!
    What the hell is the error??? Doesnt find the answer, before, i get the same error then the other colleagues
    unknown table USR02! Is this superdba? Rights of DBA??
    please give an step by step advice. Logon with..... before ... choose sqlci..............sqlcli, \? + sql execute......
    Kind regards
    Ralph

  • Flex Builder 3 Beta 3 Debugging not working with latest Flash Player Debug

    First to emphasize that never had such issues with Flex
    Builder 2 Beta 2 and Flash Player 9.0.47 Debug version.
    I downloaded Flex Builder 3 Beta 3 and installed it. Then
    trying to debug any Flex app (old or newly created) does not work.
    I don’t get any errors, but after some research I saw
    it’s nagging up on trying to connect to the Flash Player
    debug version.
    1. Uninstalled old versions of Flash Player (FP).
    2. Downloaded latest debug version of FP 9 (9.0.115) and
    installed it both for IE and Opera (Netscape-compatible).
    3. Installed Flex Builder 3 Beta 3.
    4. Created a simple Flex app.
    5. Ran it in debug mode.
    6. Showed a small window with title “Progress
    Information” and a progress + text: Waiting for Flash Player
    to connect to debugger…
    7. Two minutes later I got the error: “Failed to
    connect; session timed out. Ensure that: 1. You compiled your Flash
    application with debugging on. 2. You are running the debugger
    version of Flash Player.”
    Any idea what is wrong? I tried to download an older debug
    version but then FB 3 Beta 3 raises the error it’s expecting
    version 9.0.115. I searched to download FB3 Beta 2 (because I
    deleted it after downloading Beta 3) but unfortunately Adobe did
    their best to wipe it out from their links.
    Any help is welcome.
    System Specs:
    Windows Vista Ultimate
    Flex Builder 3 Beta 3 Standalone
    JRE 1.6 Update 3
    -Dimitar

    Hi Dimitar,
    Did you close all the browsers (and applications which use
    Flash Player) when you install Flex Builder 3 Beta 3 or Flash
    Player? You can try manually installing it from <FB install
    location>/player/ directory. Here're some
    installation/unintallation instructions of Flash Player:
    http://labs.adobe.com/wiki/index.php/Flex_3:Release_Notes#Installing_Flex_SDK_3_Beta_3
    thanks,
    Sharon

  • Insert SQL does not work properly when called using CALL

    I have a stored procedure (TEST_SP) which is used to insert a record in this perticular case. The SQL statement is 2526 characters long. I'm using
    dim Params : Params=chr(1) & "Insert query" & Chr(1) & "=300"
    runsql=&"{call TEST_SP(?,?)}"&Params 
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlto execute the stored procedure. I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, where the SQL is not getting executed (i.e. record is not getting created).
    The same stored procedure and the same SQL when run as below
    runsql=runsql&"DECLARE "
    runsql=runsql&"PUPDSQL VARCHAR2(4000); "
    runsql=runsql&"PRES VARCHAR2(300); "
    runsql=runsql&"BEGIN "
    runsql=runsql&"PUPDSQL := 'INSERT query..."
    runsql=runsql&"PRES:=300; "
    runsql=runsql&"MRT_LKIDFULUP(PUPDSQL => PUPDSQL,PRES => PRES); "
    runsql=runsql&"END; "
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlis working fine. Does anyone know if there is a limitaion in ODBC Call function or any explanation to above behaviour? I'm connecting to a Oracle 11g database using Microsoft ODBC for Oracle driver on Window 7
    The stored procedures:
    create or replace procedure TEST_SP(pUPDSQL IN VARCHAR2,pRES OUT VARCHAR2)
    AS
    BEGIN
    DECLARE
      emsg VARCHAR2(100);
    BEGIN
    if pUPDSQL&lt;&gt;'-1' then
      emsg:='Cant exec UPDATE';
      EXECUTE IMMEDIATE pUPDSQL;
        if SQL%RowCount=0 then
        pRES:='ERR:No row updated';
        return;
      end if;
    end if;
    pRES:='OK:';
    EXCEPTION
      WHEN OTHERS THEN
       pRES:='ERR:' || emsg;
    END;
    END;Edited by: BluShadow on 11-Dec-2012 15:47
    added {noformat}{noformat} tags for readability.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    ... I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, ...Perhaps you need two single quotes? like:
    runsql=runsql&"PUPDSQL := 'INSERT query...Values(..,..,,,''This value in two single quotes'',..,...)' "
    ... I'm connecting to a Oracle 11g database using Microsoft ODBC ...Dump windoze ODBC and better use the Oracle client ODBC.
    :p

  • PL/SQL program not working when connect database via SqlNet

    Hi,
    This is a segment of a PL/SQL program before opening a cursor using input descriptor. It is working fine ( to get the value of unOutputCount ) without connect to a database via SqlNet, can anyone tell me why it is not working ( unOutputCount return 0)while connecting to a database via SqlNet and how to make it work without opening a cursor before DESCRIBE OUTPUT ...?
    EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'input_111'
    WITH MAX 100;
    EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'output_111'
    WITH MAX 100;
    EXEC SQL PREPARE STMT1 FROM :psSqlStatement;
    EXEC SQL DECLARE CURSOR1 CURSOR FOR STMT1;
    EXEC SQL DESCRIBE INPUT STMT1
    USING DESCRIPTOR GLOBAL 'input_111';
    /* Get count of input parameters in statement */
    EXEC SQL GET DESCRIPTOR GLOBAL 'input_111' :unInputCount = COUNT;
    EXEC SQL DESCRIBE OUTPUT STMT1
    USING DESCRIPTOR GLOBAL 'output_111';
    /* Get count of output parameters in statement */
    EXEC SQL GET DESCRIPTOR GLOBAL 'output_111'
    :unOutputCount = COUNT;

    Hi,
    Welcome to Oracle OTN Forums!
    I changed your code a little. I think this help you
    CREATE OR REPLACE
    PROCEDURE xx_test
    IS
      v_pid VARCHAR2(100);
      v_cn  VARCHAR2(100);
      v_id  VARCHAR2(1000);
      v_val VARCHAR2(1000);
      CURSOR C1
      IS
        (SELECT product_id, 'PRODUCT_ID'  cn
            FROM product1 );
      BEGIN
        FOR V1 IN C1
        LOOP
          FETCH C1 INTO v_pid, v_cn;
          dbms_output.put_line('==== '||v_pid||'==== '||v_cn);
          EXECUTE IMMEDIATE
          'SELECT product_id, DECODE(COUNT (product_id),1,MAX (product_id))||'''||V_CN||''' as val
            FROM product1
           WHERE product_id =:a
           GROUP BY product_id)' INTO v_id, v_val USING v_pid;
          dbms_output.put_line('==== '||v_id||'==== '||v_val);
          EXECUTE IMMEDIATE 'UPDATE product2 SET '||v_cn||' = ' ||''''|| v_val ||''''|| ' WHERE product_id = :b' USING v_pid;
          dbms_output.put_line('++++ '||v_cn||'++++ '||v_val||'++++ '||v_pid);
        END LOOP;
      END xx_test;

  • My first PL/SQL block not working with using Select query within begin

    I am new to PL/SQL , just started with basics of BLOCKS .
    I am having a query here in executing a block .
    When i am doing a insert oprtation in Blocks Begin method everything is working fine , but when ever i tried to do select operation , some error is being thrown .
    First of all This is my Table :
    select from try :*
    KEY      VALUE
    Key     Value
    Key1     Value1
    Key2     Value2
    Key3     Value3
    ======================
    This is the code which is not working : Please see the code and tell me what is the problem .
    DECLARE
    v_KEY    VARCHAR2(20);
    v_VALUE   VARCHAR2(20);
    BEGIN
    select key into v_KEY FROM try where v_value='Value' ;
    dbms_output.put_line(v_KEY);
    END;
    When i run this code , it is saying Data Not Found on this line " select key into v_KEY FROM try where v_value='Value' ;"
    wheer when i run tis individually it worked fine :
    select KEY FROM try where VALUE='Value' ;"
    please share your ideas .as why it isn't running ??
    Edited by: user10503747 on Sep 20, 2010 3:16 AM

    Hi,
    user10503747 wrote:
    I am new to PL/SQL , just started with basics of BLOCKS .
    I am having a query here in executing a block .
    When i am doing a insert oprtation in Blocks Begin method everything is working fine , but when ever i tried to do select operation , some error is being thrown .
    First of all This is my Table :
    select from try :*
    KEY      VALUE
    Key     Value
    Key1     Value1
    Key2     Value2
    Key3     Value3
    ======================
    This is the code which is not working : Please see the code and tell me what is the problem .
    DECLARE
    v_KEY    VARCHAR2(20);
    v_VALUE   VARCHAR2(20);
    BEGIN
    select key into v_KEY FROM try where v_value='Value' ;
    dbms_output.put_line(v_KEY);
    END;
    When i run this code , it is saying Data Not Found on this line " select key into v_KEY FROM try where v_value='Value' ;"
    wheer when i run tis individually it worked fine :
    select KEY FROM try where VALUE='Value' ;"
    please share your ideas .as why it isn't running ??
    Edited by: user10503747 on Sep 20, 2010 3:16 AMInstead of:
    {code}
    select key into v_KEY FROM try where v_value='Value' ;
    {code}
    perhaps you meant something like:
    {code}
    v_value := 'Value1';
    select key into v_KEY FROM try where v_value=Value ; -- No quotes
    {code}
    Until you assign a vlue to a variable, like v_value, it is NULL, so your original statement was equivalent to
    {code}
    select KEY FROM try where NULL='Value' ;
    {code}
    In PL/SQL, a SELECT ... INTO statement must return exactly one row, or else you will get an error (either NO_DATA_FOUND or TOO_MANY_ROWS). This is different from SQL, where a query cn return any number of rows, including 0, without raising an error.

  • Inline transform for Sql Query not working in SAP MII 12.1 Version 12.1.8 B

    Hi All,
    I applied an xslt for an sql query which returns an xml file.
    I used inline transform icon in sql query to load an xsl file which has to return me a string
    Any idea why is not working for me..?
    My Sample XML file:
                                     <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="/XMII/CM/BatchDisposition/BatchQueueManagement/StyleSheets/ProductXsl.xsl"?>
    <Rowsets DateCreated="2011-05-05T07:27:45" EndDate="2011-05-05T07:27:45" StartDate="2011-05-05T06:27:45" Version="12.1.8 Build(20)">
         <Rowset>
              <Columns>
                   <Column Description="ProductName" MaxRange="1" MinRange="0" Name="ProductName" SQLDataType="12" SourceColumn="ProductName"/>
              </Columns>
              <Row>
                   <ProductName>Asprin 100mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row>
                   <ProductName>Asprin 300mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row><ProductName>Ibprooven 200mg Tablets 12 x 10 strip</ProductName></Row>
              <Row><ProductName>RipTide 50mg Tablets 40 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 200mg Tablets 6 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 400mg Tablets 12 x10 strip</ProductName></Row>
         </Rowset>
    </Rowsets>
    My Sample XSl File:
                                    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
         <xsl:text>["</xsl:text>
         <xsl:for-each select="Rowsets/Rowset/Row">
              <xsl:value-of select="ProductName"/>
              <xsl:if test="position() &lt; last()">
                   <xsl:text>","</xsl:text>
                    </xsl:if>
              <xsl:if test="position()=last()">
                           <xsl:text>"]</xsl:text>
                    </xsl:if>
         </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Any Suggestions  are Welcome:
    Thanks

    Something like this should work...
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <Rowsets DateCreated="{Rowsets/@DateCreated}" Version="{Rowsets/@Version}" StartDate="{Rowsets/@StartDate}" EndDate="{Rowsets/@EndDate}">
                   <xsl:copy-of select="/Rowsets/FatalError"/>
                   <xsl:copy-of select="/Rowsets/Messages"/>
                   <Rowset>
                   <Columns>
                        <Column Description="Mycol1" MaxRange="1" MinRange="0" Name="Mycol1" SQLDataType="12" SourceColumn="Mycol1" />
                   </Columns>
                   <Row>
                   <Mycol1>
                   <xsl:text>["</xsl:text>
                        <xsl:for-each select="/Rowsets/Rowset/Row">
                             <xsl:value-of select="." />
                             <xsl:choose>
                                  <xsl:when test="position() &lt; last()"><xsl:text>","</xsl:text></xsl:when>
                                  <xsl:otherwise><xsl:text>"]</xsl:text></xsl:otherwise>
                             </xsl:choose>
                        </xsl:for-each>
                   </Mycol1>
                   </Row>
                   </Rowset>
              </Rowsets>
         </xsl:template>
    </xsl:stylesheet>

  • SQL (Reverse) not working in Forms 6i

    Hi:
    Env 6i c/s 8i DB.
    SELECT REVERSE ( '321' ) FROM DUAL works in SQL*Plus but does not accept the REVERSE function from within a Trigger. I could put the logic in a Package on the DB but I'd like to know why it does not work in F6i ?
    Thanks
    N.

    Forms 6i uses an older version of PL/SQL than the database, so it does not recognize the newly introduced function. You will need to create a database function to call from the form.

  • SQL Code not working in Forms Developer?

    Hi all,
    I'm using Oracle 10g and I have th following code running on iSQL+ but not working on Forms and I got the following erro
    The SQL code:
         select returningreason
            from (
                     select returningreason,
                     dense_rank() over (partition by 1 order by count(*) desc) as drnk
                     from returned_goods
                     group by returningreason)
           where drnk = 1;And the error happens near the word over to the right and the error statement is:
    Error 103 at line 18, column 19
       Encountered the symbol "(" when expecting one of the following:
             , formThanks in advance :)

    Triggers are compiled in forms so need to use only the features available to forms, which doesn't include all the new stuff in the database.
    select over partition
    NVL2They don't work in forms and reports too.
    Also if you use them in record Group
    Forms/SQL Compiler was not lined up to the database(10G).
    Meanwhile,for example. Pipelined TABLE and relative Select work in Reports AND Forms.

Maybe you are looking for

  • Existing external drive: how to RAID it?

    I've got a LaCie 1 TB external USB 2 drive. Nearly full. Very important files live there and ONLY there. Enter a 2nd LaCie 1 TB which I purchased last week. A USB 3 portable drive, although I don't think my MacBook Pro 2007 is USB 3. Anyone could adv

  • Unable to insert PDF object into Word 2013

    Hi, While trying to insert PDF (Adobe Reader X 10.1.0) document into Word (Microsoft office Professional plus 2013 15.0.4420.1017) getting below error. Error Message: The Program used to create this object is Acroexch.That program is either not insta

  • With F.13 how credit Journal Vouchers and balances be adjusted......

    Dear all With F.13 how credit Journal Vouchers and balances be adjusted against unpaid invoices using  FIFO method. What critera IN FB74 we need to write for automatic clearing of transactions. Thnax - Viru.

  • HT201413 My iPhone turns off during the restore & comes up with error 1611 - help?

    My iPhone kept telling me I needed to update to the new iOS 5 software for some of my apps to update. So I plugged it in and started the update. But then my phone kept turning itself on and off. I put it into recovery mode & then tried to restore it.

  • Adobe forms at CRM7

    Hello All, We have been created a PDF form , Implemented a IF_EX_DOC_PERSONALIZE_BCS~PERSONALIZE_PDF_DOC_PDFIF and created an action in order to print this PDF document. When it tested from SAPGUI it's working OK (we geting a preview with Acrobat rea