Stored Procedures returning cursors fail

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Stored Procedures returning cursors fail

    Coldfusion MX 6.1 Standard with latest updater on Windows 2000 Server.

    I was previously accessing an Oracle 9i DB via the Oracle ODBC Driver (v.
    9.2.0.1.0) using the the ODBC Socket. My application utilizes a couple of
    stored procedures that return cursors to cold fusion. Under this old
    configuration, the procedures worked.

    I recently, patched Oracle with the latest security patches. As such, I had
    to upgrade the ODBC driver to match. I am now using v. 9.2.0.6.5. After
    performing this update, my procedures that return cursors fail with the
    following error message:

    [Macromedia][SequeLink JDBC Driver]Network problem, session aborted due to
    internal error in remote procedure call, connection closed.

    I have run these procedures directly inside of sqlplus and they seem to be
    working just fine. Has anyone else run into this? Any ideas?

    roybrown Guest

  2. Similar Questions and Discussions

    1. Stored Procedures
      Hi all, I'm a little confused about how to obtain a result set from a stored procedure (stored in a Visual FoxPro 8.0 database) from an ASP.NET...
    2. dt_ Stored Procedures
      Please could you tell me if it is safe to remove the dt_ stored procedures from my database? I have spent some time searching the web/groups for...
    3. New to ASP and Stored Procedures
      Hi I have some experince with ASP and databases in General, however Stored Procedures are new. I need to call a stored procedure and have bene...
    4. Stored Procedures and 4GL
      Hello, I am using Informix 7 se database. Is it possible to call a 4GL program from a stored procedure? Thanks Ahmer
    5. Extended stored procedure and Cursors
      the code looks good. is it giving any error? "Richard" <richard.peoples@lacdc.org> wrote in message news:062a01c345a3$6b779250$a301280a@phx.gbl...
  3. #2

    Default Re: Stored Procedures returning cursors fail

    I don't know if ithis is related to your problem, but I searched Oracle's
    Metalink and found at least one bug report regarding stored proceedure calls
    with this driver. It recommends backing off to the previous version of the
    driver, or upgrading to 10g.

    Bug No. 4235212
    Problem description:
    -------------------
    When executing a stored procudure using the following syntax:
    (SQLCHAR*)"{CALL Criteria (?,?,?)}", SQL_NTS); .
    The following error results: SQLExecDirect failed Stored procedure call
    failed!!!
    SQLSTATE = S1000
    NATIVE ERROR = 6550
    MSG = [Oracle][ODBC][Ora]ORA-06550: line 1, column 22:
    PLS-00561: character set mismatch on value for parameter 'FINAL_SQL'
    ORA-06550: line 1, column 7: PL/SQL: Statement ignored .
    When the call is changed to the following syntax: (SQLCHAR*)"BEGIN Criteria
    (?,?,?); END;", SQL_NTS); .
    The error does not occur.

    Upgrade the Oracle ODBC Driver to version 10.1.0.2.0 or downgrade to version
    9.2.0.5.4.

    Phil


    paross1 Guest

  4. #3

    Default Re: Stored Procedures returning cursors fail

    Thanks for the information. I tried updating to the latest Oracle ODBC drivers. I still get the same response. Hopefully, I'll turn up a solution.
    roybrown Guest

  5. #4

    Default Re: Stored Procedures returning cursors fail

    We just ran into this problem.
    It may have to do with a LONG datatype in a table that you are running the
    procs on. If this is the case, you may have an option "Force retrieve long
    datatypes" in the workarounds tab in the MS ODBC Administrator on your server.
    If so, enable the option and re-run the procs. Hope this helps..

    jpal00 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139