The Sql type exposes the following members.

Methods

  NameDescription
Public methodStatic memberClearImmediate
Disconnects the internal Sql Handle from a database.
Public methodStatic memberClose Obsolete.
Not supported.
Public methodStatic memberCloseAllSPResultSets
Closes any result sets generated by the execution of a stored procedure.
Public methodStatic memberCloseResultSet
Close the current result set.
Public methodStatic memberCommit(SalSqlHandle)
Commits all of the SQL transaction's cursors that are connected to the same database.
Public methodStatic memberCommit(SalSqlHandle, WhenSqlErrorHandler)
Commits all of the SQL transaction's cursors that are connected to the same database.
Public methodStatic memberCommitSession(SalSqlSessionHandle)
Commits the current transaction associated with the specified session.
Public methodStatic memberCommitSession(SalSqlSessionHandle, WhenSqlErrorHandler)
Commits the current transaction associated with the specified session.
Public methodStatic memberConnect(SalSqlHandle%)
Connects to a database.
Public methodStatic memberConnect(SalSqlHandle%, WhenSqlErrorHandler)
Connects to a database.
Public methodStatic memberConnectImmediate
Connects the internal Sql Handle used for SqlImmediate calls.
Public methodStatic memberConnectTransaction Obsolete.
Not supported.
Public methodStatic memberConnectUsingCursor Obsolete.
Not supported.
Public methodStatic memberContextClear
Clears the sql context.
Public methodStatic memberContextSet
Sets the sql context to the current form.
Public methodStatic memberContextSetToForm
Sets the contetx to the specified form.
Public methodStatic memberCreateSession(SalSqlSessionHandle%, SalString)
Creates a new session.
Public methodStatic memberCreateSession(SalSqlSessionHandle%, SalString, WhenSqlErrorHandler)
Creates a new session.
Public methodStatic memberCreateStatement
Creates a new statement belonging to the specified session.
Public methodStatic memberDirectoryByName
Returns the database names on the specified server.
Public methodStatic memberDisconnect
Disconnects from a database.
Public methodStatic memberDisconnectWithoutCursor Obsolete.
Not supported.
Public methodStatic memberDropStoredCmd Obsolete.
Not supported.
Public methodStatic memberError
Returns the most recent error code for the specified Sql Handle.
Public methodStatic memberErrorText
Returns the error text corresponding to the error number.
Public methodStatic memberExecute(SalSqlHandle)
Executes a SQL statement that was previously prepared.
Public methodStatic memberExecute(SalSqlHandle, WhenSqlErrorHandler)
Executes a SQL statement that was previously prepared.
Public methodStatic memberExecutionPlan Obsolete.
Not supported.
Public methodStatic memberExists(SalString, SalBoolean%)
Determines whether a row exists.
Public methodStatic memberExists(SalString, SalBoolean%, WhenSqlErrorHandler)
Determines whether a row exists.
Public methodStatic memberExtractArgs
Public methodStatic memberFetchNext(SalSqlHandle, SalNumber%)
Fetches the next row in a result set.
Public methodStatic memberFetchNext(SalSqlHandle, SalNumber%, WhenSqlErrorHandler)
Fetches the next row in a result set.
Public methodStatic memberFetchPrevious(SalSqlHandle, SalNumber%)
Fetches the previous row in a result set.
Public methodStatic memberFetchPrevious(SalSqlHandle, SalNumber%, WhenSqlErrorHandler)
Fetches the previous row in a result set.
Public methodStatic memberFetchRow(SalSqlHandle, SalNumber, SalNumber%)
Fetches a row according at the absolute row position.
Public methodStatic memberFetchRow(SalSqlHandle, SalNumber, SalNumber%, WhenSqlErrorHandler)
Fetches a row according at the absolute row position.
Public methodStatic memberFreeSession(SalSqlSessionHandle%)
Frees the session.
Public methodStatic memberFreeSession(SalSqlSessionHandle%, WhenSqlErrorHandler)
Frees the session.
Public methodStatic memberGetCmdOrRowsetPtr Obsolete.
Not supported.
Public methodStatic memberGetCursor Obsolete.
Not supported.
Public methodStatic memberGetDSOrSessionPtr Obsolete.
Not supported.
Public methodStatic memberGetError
Returns the last error information.
Public methodStatic memberGetErrorPosition
Returns the offset of the error position within the last SQL statement.
Public methodStatic memberGetErrorText
Returns the error text corresponding to the error number.
Public methodStatic memberGetErrorTextX
Returns the error text corresponding to the error number.
Public methodStatic memberGetLastStatement
Returns the last SQL statement.
Public methodStatic memberGetModifiedRows
Returns the number of rows affected by the most recent INSERT, UPDATE, or DELETE statement.
Public methodStatic memberGetNextSPResultSet
Returns the next result set returned by a stored procedure.
Public methodStatic memberGetParameter
Gets the value of a database parameter.
Public methodStatic memberGetParameterAll Obsolete.
Not supported.
Public methodStatic memberGetResultSetCount(SalSqlHandle, SalNumber%)
Returns the number of rows in the result set.
Public methodStatic memberGetResultSetCount(SalSqlHandle, SalNumber%, WhenSqlErrorHandler)
Returns the number of rows in the result set.
Public methodStatic memberGetRollbackFlag Obsolete.
Not supported.
Public methodStatic memberGetSessionErrorInfo
Returns the error information associated with the specified session.
Public methodStatic memberGetSessionHandle
Returns the session handle to which the specified statement handle belongs.
Public methodStatic memberGetSessionParameter
Gets the value of the specified session property.
Public methodStatic memberGetSqlHandle Obsolete.
Not supported.
Public methodStatic memberGetStatementErrorInfo
Returns the error information associated with the specified statement handle.
Public methodStatic memberImmediate(SalString)
Prepares and executes a SQL statement.
Public methodStatic memberImmediate(SalString, WhenSqlErrorHandler)
Prepares and executes a SQL statement.
Public methodStatic memberImmediateContext
Prepares and executes a SQL statement using a different sql context.
Public methodStatic memberOpen Obsolete.
Not supported.
Public methodStatic memberOraPLSQLCommand(SalSqlHandle, SalString)
Executes an Oracle PL/SQL stored procedure. Supports dynamic arrays and recive array parameters.
Public methodStatic memberOraPLSQLCommand(SalSqlHandle, SalString, WhenSqlErrorHandler)
Executes an Oracle PL/SQL stored procedure. Supports dynamic arrays and recive array parameters.
Public methodStatic memberOraPLSQLExecute(SalSqlHandle)
Executes the anonymous PL/SQL block that was prepared using SqlOraPLSQLPrepare.
Public methodStatic memberOraPLSQLExecute(SalSqlHandle, WhenSqlErrorHandler)
Executes the anonymous PL/SQL block that was prepared using SqlOraPLSQLPrepare.
Public methodStatic memberOraPLSQLPrepare(SalSqlHandle, SalString)
Compiles the anonymous PL/SQL block.
Public methodStatic memberOraPLSQLPrepare(SalSqlHandle, SalString, WhenSqlErrorHandler)
Compiles the anonymous PL/SQL block.
Public methodStatic memberOraPLSQLStringBindType Obsolete.
Not supported.
Public methodStatic memberPrepare(SalSqlHandle, SalString)
Compiles a SQL statement for execution.
Public methodStatic memberPrepare(SalSqlHandle, SalString, WhenSqlErrorHandler)
Compiles a SQL statement for execution.
Public methodStatic memberPrepareAndExecute(SalSqlHandle, SalString)
Compiles and executes a SQL statement.
Public methodStatic memberPrepareAndExecute(SalSqlHandle, SalString, WhenSqlErrorHandler)
Compiles and executes a SQL statement.
Public methodStatic memberPrepareSP(SalSqlHandle, SalString, SalString)
Prepares a stored procedure invokation statement.
Public methodStatic memberPrepareSP(SalSqlHandle, SalString, SalString, WhenSqlErrorHandler)
Prepares a stored procedure invokation statement.
Public methodStatic memberRetrieve(SalSqlHandle, SalString, SalString, SalString)
Retrieves a SQLBase compiled command.
Public methodStatic memberRetrieve(SalSqlHandle, SalString, SalString, SalString, WhenSqlErrorHandler)
Retrieves a SQLBase compiled command.
Public methodStatic memberRollback(SalSqlHandle)
Rolls back all of the SQL transaction's cursors that are connected to the same database.
Public methodStatic memberRollback(SalSqlHandle, WhenSqlErrorHandler)
Rolls back all of the SQL transaction's cursors that are connected to the same database.
Public methodStatic memberRollbackSession(SalSqlSessionHandle)
Rolls back the current transaction associated with the specified session.
Public methodStatic memberRollbackSession(SalSqlSessionHandle, WhenSqlErrorHandler)
Rolls back the current transaction associated with the specified session.
Public methodStatic memberSetInMessage Obsolete.
Not supported.
Public methodStatic memberSetIsolationLevel
Sets the isolation level.
Public methodStatic memberSetLockTimeout
Specifies the maximum time to wait before generating an error.
Public methodStatic memberSetLongBindDatatype Obsolete.
Not supported.
Public methodStatic memberSetOutMessage Obsolete.
Not supported.
Public methodStatic memberSetParameter
Sets the value of a database parameter.
Public methodStatic memberSetParameterAll Obsolete.
Not supported.
Public methodStatic memberSetResultSet
Turns result set mode on or off for all handles associated with the same connection.
Public methodStatic memberSetSessionParameter
Sets the value of the specified session property.
Public methodStatic memberStore Obsolete.
Not supported.
Public methodStatic memberVarSetup(SalSqlHandle)
Saves the sql bind variables context using the SalCompileAndEvaluate context.
Public methodStatic memberVarSetup(SalSqlHandle, Object)
Saves the sql bind variables context.
Public methodStatic memberXDirectory Obsolete.
Not supported.

Fields

  NameDescription
Public fieldStatic memberDatabase
This string variable contains the name of the database to which the application connects.
Public fieldStatic memberIsolationLevel
This system variable sets the isolation level for the next connection to a database server. The isolation level controls the effect that changes made by one user have on another user accessing the same tables. Valid strings are: - Read Repeatability (RR) - Cursor Stability (CS) - Release Locks (RL)
Public fieldStatic memberPassword
This string variable contains a password necessary to access a database. The default password is SYSADM.
Public fieldStatic memberResultSet
Result set status flag.
Public fieldStatic memberResultSetMode
Behavior for when the ResultSet mode is on.
Public fieldStatic memberUniversalDataLink
SqlUDL is a system variable that can contain a provider name or the name of a UDL file to use for OLE DB connection information.
Public fieldStatic memberUser
This string variable contains a user name necessary to access a database. The default authorization name is SYSADM.

See Also