Name
Parameter Object — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
The Parameter object contains information for one variable within a SQL statement or stored procedures. Combined, Parameter objects belong to the Parameters collection of Command objects.
Applies To
- Parameters
This collection contains a group of Parameter objects that describe parameters belonging to the associated Command object.
Collections
- Properties
Returns a Properties collection class that contains characteristics specific to the Parameter object for the currently used provider.
Methods
- AppendChunk
Append data to a large data or binary field within the current Parameter object.
Properties
- Attributes
Sets or returns specific characteristics about the Parameter object.
- Direction
Specifies whether the current parameter is an input parameter, an output parameter, both an input and an output parameter, or a return value from a stored procedure.
- Name
Specifies the name for the current Parameter object.
- NumericScale
Indicates the scale of numeric values in the current Parameter object.
- Precision
Represents the degree of precision of a numeric value within the current Parameter object.
- Size
Returns the maximum size of a Parameter object’s value.
- Type
Identifies the current object’s datatype.
- Value
Indicates the value assigned to the current Parameter object.
Description
Parameters allow SQL statements or stored procedures to be created that can be “altered” at runtime by plugging in values for specific variables. A Parameter object contains metadata ...
Get ADO: ActiveX Data Objects 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.