oGetADOCommand (server-side)
Use this routine to create an ActiveX Data Object (ADO) Command object, and initialize it with the specified connection and command types.
Definition
oGetADOCommand(oConn,
nCommandType)
Parameters
oConn
An ADO Connection object to be set as the active connection for the newly created Command object. This is usually the object returned from a call to the oGetADOConnection routine.
nCommandType
A number containing a valid value representing an ADO command type to be set for the newly created Command object.
Return Value
An ADO Command object, ready to use.
Remarks
The following constants for ADO parameter values are defined in the file DBUtil.asp:
Command Types
AD_CMD_TEXT
AD_CMD_TABLE
AD_CMD_STORED_PROC
AD_CMD_UNKNOWN
This routine is available in the include file DBUtil.asp.