The methods listed here are standard methods of DAM session objects. DAM session objects enable you to log on to an SQL database and then send SQL commands to the server using an DAM statement object.
$begin | $begin() Begins a session transaction when $transactionmode is kSessionTranManual. Returns kTrue on success, kFalse otherwise |
$clear | $clear() Clear all statements. Returns kTrue on success, kFalse otherwise |
$coltext | $coltext(vVarRef) Returns a SQL text description of the vVarRef parameter for use in a SQL statement |
$commit | $commit() Commits session transaction. Returns kTrue on success, kFalse otherwise |
$createnames | $createnames(vTableDef[,bNullInfo,bPrimaryKeys]) Returns a text string defining the columns and types to be used as part of a SQL CREATE TABLE statement |
$definelistorrow | $definelistorrow(&vListOrRow,cTableName) defines a list or row from a server table |
$insertnames | $insertnames(wRowRef) Returns a text string which is a comma delimited list specifiying the columns to be used in a SQL INSERT statement |
$logoff | $logoff() Drop connection to server. Returns kTrue on success, kFalse otherwise |
$logon | $logon(cHostname,cUsername,cPassword[,cSessionName]) Connect session to server. Returns kTrue on success, kFalse otherwise |
$makeschema | $makeschema(rSchema,cTableName) makes a schema from a server table |
$nextnativeerror | $nextnativeerror() Retrieves the next $nativeerrorcode & $nativeerrortext. Returns kTrue on success, kFalse otherwise |
$rollback | $rollback() Rollback session transaction. Returns kTrue on success, kFalse otherwise |
$rpcdefine | $rpcdefine(cRpcName,lParamList) defines a remote procedure prior to calling $rpc(). lParamList is normally obtained from $rpcparameters(). Returns kTrue on success, kFalse otherwise |
$selectnames | $selectnames(vTableDef[,cTableName]) Returns a text string defining the columns to be used in a SQL SELECT statement |
$updatenames | $updatenames(wRowRef) Returns a text string which is used as part of a SQL UPDATE statement |
$wherenames | $wherenames(wRowRef[,cTableName,cComparison,cOperator]) Returns a text string which is used as part of a SQL WHERE clause |