passing values to stored procedure

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

  1. #1

    Default passing values to stored procedure

    Hello

    Can some please let me know how can I pass value to the following stored
    procedure from coldfusion template. It is written in different format than
    those I worked before

    In Cold Fusion it is like that

    <cfquery name="plans" datasource="xyz">
    exec get_plans
    </cfquery>

    In SQL Manager it looks like
    Create Procedure prc_get_plans
    @DEPT_ID CHAR(10)='ALL'
    @FROM_DATE VARCHAR(10)


    akcreative Guest

  2. Similar Questions and Discussions

    1. #40143 [NEW]: how to get parameter values of stored procedure.?
      From: hd4_all at yahoo dot co dot in Operating system: windows 2000 prof. PHP version: 5.2.0 PHP Bug Type: MySQLi related...
    2. Passing null into a stored procedure
      I have a survey form with both checkboxes and radio buttons... when storing the form, there are occassions that I need to store a NULL in the DB and...
    3. Stored Procedure not returning values.
      There are two problems: 1. SQL Server returns the "x number of records affected" message that you see in Query Analyzer to the client as a...
    4. Passing arrays to a stored procedure
      http://www.aspfaq.com/2248 http://www.algonet.se/~sommar/arrays-in-sql.html http://www.algonet.se/~sommar/dynamic_sql.html "Doug Eller"...
    5. Passing Unix Params to a Stored Procedure
      need to pass Unix parameters to a stored procedure (called in proc.sql) I call proc.sql like so (I've ommited the sql logon info etc): ...
  3. #2

    Default Re: passing values to stored procedure

    Typically, you should [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000338.htm[/url] for stored procedures.
    mxstu 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