日本港口地图:SACommand

来源:百度文库 编辑:偶看新闻 时间:2024/04/27 16:29:48
Home How To Online Documentation Support Download Order
SACommand
SAConnection
SAException
SAField
SAParam
SAString
SADateTime
SANumeric
SAInterval
Enums and Typedefs
Usage Examples
SACommand
Construction / Destruction
SACommand Constructs a SACommandobject
~SACommand Destructs a SACommandobject
Methods
Connection Returns a pointer to thecurrentSAConnection object
setConnection Associates a command withan existingSAConnection object
Open Opens a command
isOpened Tests whether a command is opened
Close Closes a command
Destroy
Destroys a broken command
Reset Clears all DBMS relatedhandles and sturctures but doesn't destroy them (mostly for Unix fork/exec based applications)
setCommandText Sets command text
CommandText Returns a command text
CommandType Returns a command type
Prepare Prepares command before execution
Execute Executes command
isResultSet Tests whether a result set existsafter the last command execution
RowsAffected Returns number of rows affected bythe last command execution
FetchNext Fetches next row from aresult set
FetchPrev Fetches previous row from aresult set
FetchFirst Fetches the first row from aresult set
FetchLast Fetches the last row from aresult set
Cancel Attempts to cancel thepending result set, or current statement execution
CreateParam Creates parameter
DestroyParams Destroys all parameters associatedwith the SACommand object
ParamCount Returns the number of bindvariables for SQL statement or stored procedure specified in the SACommandobject
ParamByIndex Returns theSAParamobject by index in params array
Param Returns theSAParamobject by name or position specified in SQL statement
operator<< Binds input parameters
FieldCount Returns the number of columns inresult set
Field Gets specifiedSAFieldobject by its name or position
operator [] Gets specifiedSAFieldobject by its name or position - operator substitution forField
setOption Sets a string value of a specificcommand option
Option Gets a string value of a specificcommand option
NativeHandles Gets native DBMS client commandrelated handle(s)