|
|
|
|
|
|||||
|
CLASS: |
|
|
|
|||||
|
ADOParameter |
|
|
|
|||||
|
|
|
|
||||||
|
DESCRIPTION: |
|
|
||||||
|
Represents a parameter or argument associated with a parameterized query or procedure. |
|
|||||||
|
|
|
|||||||
|
SYNTAX: |
|
|
||||||
|
These objects are created automatically by the ADO stored procedure. |
|
|
||||||
|
|
|
|||||||
|
|
|
|||||||
|
PROPERTY: |
DEFAULT: |
DESCRIPTION: |
|
|||||
|
baseClassName |
ADOPARAMETER |
Identifies the object as an instance of the ADOParameter class |
|
|||||
|
className |
ADOPARAMETER |
Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName |
|
|||||
|
Empty string |
Indicates the name of the parameter. |
|
||||||
|
parent |
null |
Reference to the ADOParameterArray object that contains this object. |
|
|||||
|
decimalLength |
0 |
Indicates the number of decimal places in the parameter. |
|
|||||
|
1 - Input |
Indicates the direction type of a parameter. |
|
||||||
|
length |
0 |
Indicates the stated maximum size of the parameter. |
|
|||||
|
AssocArray |
A reference to Associative array that contains the dynamic properties. |
|
||||||
|
required |
true |
Indicates whether the parameter may not contain null values. |
|
|||||
|
signed |
true |
|
|
|||||
|
Empty string |
Indicates the data type of a parameter. |
|
||||||
|
null |
Represents current value of a parameter object. |
|
||||||
|
|
|
|
||||||
|
METHOD: |
PARAMETERS: |
DESCRIPTION: |
|
|||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
DESCRIPTION: |
|
|||||||
|
The ADOParameter objects represent parameters associated with parameterized queries, or the in/out arguments and the return values of stored procedures. |
|
|||||||
|
|
|
|
||||||
|
Many providers support parameterized commands. |
|
|
||||||
|
These are commands in which the desired action is defined once, but variables (or parameters) are used to alter some details of the command. |
|
|||||||
|
For example, an SQL SELECT statement could use a parameter to define the matching criteria of a WHERE clause, and another to define the column name for a SORT BY clause. |
|
|||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|||||||
|
|
|
|
|
|||||