SqlSetStmtSimulateCursor Function |
Note: This API is now obsolete.
Namespace: XSharp_VOSQLClasses
Constant | Description |
---|---|
SQL_SC_NON_UNIQUE | The driver does not guarantee that simulated positioned update or delete statements will affect only one row; it is the application's responsibility to do so. If a statement affects more than one row, SQLExecute, SQLExecDirect, or SQLSetPos returns SQLSTATE 01001 (Cursor operation conflict). |
SQL_SC_TRY_UNIQUE | The driver attempts to guarantee that simulated positioned update or delete statements affect only one row. The driver always executes such statements, even if they might affect more than one row, such as when there is no unique key. If a statement affects more than one row, SQLExecute, SQLExecDirect, or SQLSetPos returns SQLSTATE 01001 (Cursor operation conflict). |
SQL_SC_UNIQUE | The driver guarantees that simulated positioned update or delete statements affect only one row. If the driver cannot guarantee this for a given statement, SQLExecDirect or SQLPrepare returns an error. |