Need WORKING Example Using Stored Procedures in CFMX7 wOracle9i

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

  1. #1

    Default Need WORKING Example Using Stored Procedures in CFMX7 wOracle9i

    I can't figure out the correct syntax to execute a stored procedure using
    ColdFusion 7 Standard Edition with an Oracle 9i database.

    It would be very helpful if someone could provide an example (procedure and
    CFM) to assist me. At this point, I have tried so many blends of stored
    procedure examples on the net that I am totally lost. Many of the examples were
    coded incorrectly and I've spent too much time trying to fix the examples
    without knowing if the code even works! When I tried executing numerous
    examples I found the CF Server hang each and every time and the only fix was to
    restart it.

    Thank you in advance for your assistance!


    MAT_EDU Guest

  2. Similar Questions and Discussions

    1. Troubles in stored procedures (mySQL) in CFMX7
      Hi, i'm using for the first time stored procedures in MySQL 5.0.18 and as database client i'm using ColdFusion MX7. The trouble is that the...
    2. 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...
    3. 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...
    4. 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...
    5. 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
  3. #2

    Default Re: Need WORKING Example Using Stored Procedures inCFMX7 w Oracle9i

    What's the problem? The same syntax as in MX 6.1 and Oracle 8i.
    This is example with one input parameter <cfstoredproc
    procedure="update_mytable" datasource="#REQUEST.DSN1#">
    <cfprocparam type = "IN" CFSQLType = "CF_SQL_VARCHAR"
    variable = "p_param1"
    value = '#request.key#'>
    </cfstoredproc>
    Can't send procedure code - clients' property but this is several insert and
    update statements started with Create or Replace Procedure as...

    CF_Oracle Guest

  4. #3

    Default Re: Need WORKING Example Using Stored Procedures inCFMX7 w Oracle9i

    Can you please email me the procedure and CFM code to [email]mat47@cornell.edu[/email]?
    I've read here that there are differences between Oracle 8i and 9i. My comment
    is toward the bottom.

    [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/[/url]
    wwhelp.htm?context=ColdFusion_Documentation&file=0 0000313.htm
    Thank you.

    MAT_EDU Guest

  5. #4

    Default Re: Need WORKING Example Using Stored Procedures inCFMX7 w Oracle9i

    We don't use reference cursors mentioned in link. Do you really need them?
    CF_Oracle Guest

  6. #5

    Default Re: Need WORKING Example Using Stored Procedures inCFMX7 w Oracle9i

    Wow.. this large cfproc example.. I am looking for something really easy just
    to see if I can get it to work with my setup ... I really don't need to use
    reference cursors... I am looking for something that works... anything.. BTW
    what is the structure of the "cycle" table?

    So far every attempt to run a stored procedure ended up with JRUN.EXE taking
    up 100% of a server CPU... It just doesn't terminate...

    MAT_EDU 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