Name
cfprocparam
Synopsis
<cfstoredproc> [<cfprocparam>] [<cfprocresult>] ... </cfstoredproc>
Specifies parameter information to send to a stored procedure.
cfprocparam
tags are nested within a
cfstoredproc
tag.
Attributes
-
cfsqltype="
parameter_data_type
"
The SQL type of the parameter being passed to the stored procedure. Required. The default is
cf_sql_char
. Possible values arecf_sql_bigint
,cf_sql_bit
,cf_sql_blob
,cf_sql_char
,cf_sql_clob
,cf_sql_date
,cf_sql_decimal
,cf_sql_double
,cf_sql_float
,cf_sql_idstamp
,cf_sql_integer
,cf_sql_longvarchar
,cf_sql_money
,cf_sql_money4
,cf_sql_numeric
,cf_sql_real
,cf_sql_refcursor
(Oracle only),cf_sql_smallint
,cf_sql_time
,cf_sql_timestamp
,cf_sql_tinyint
, andcf_sql_varchar
.-
dbvarname="
database_variable_name
"
The name of the parameter within the stored procedure. Required if named notation is used. Named notation is not supported in ColdFusion MX (and has never worked correctly in previous versions). This attribute is deprecated and ignored by MX if used.
-
maxlength="
length
"
The maximum length of the parameter. Optional.
-
null="Yes|No"
Whether or not to pass the parameter as
NULL
. IfYes
, ColdFusion ignores thevalue
attribute and passesNULL
. Optional. The default itNo
.-
scale="
decimal_places
"
The number of decimal places for the parameter. Optional.
-
type="In|Out|InOut"
Whether the variable being passed is an input, output, or input/output variable. Optional. Default is
In
.-
value="
parameter_value
"
The value to pass to the ...
Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.