|
virtual bool CBatchParam<T>::Open(IOpenRowset *pIOpenRowset, LPCOLESTR strSQL, CPInfo arrPInfo[], bool bPrepared=true); Return Value true if successful; otherwise false. Parameters [in] IOpenRowset: A pointer to an interface IOpenRowset. [in] strSQL: A unicode string indicating a parameterized SQL statement or a parameterized stored procedure. [in] arrPInfo: A pointer to an array of CPInfo structures. For details of CPInfo structure and setting the structure, click here. The size of the array of CPInfo structures must be equal to the number of characters '?' in the strSQL. [in] bPrepared: A boolean data indicating if a parameterized statement or stored procedure, strSQL, is prepared before executing it. Remark Opens a CBatchParam<T> object. For how to use this function, see example MultiProcs. |