A table of possible database interface object callback functions has been added to the section “Database interface objects” in Chapter 1, “Overview.”
When you create database interface objects and define SQL statement result options, you can specify or create a function that executes after each result row is gathered and acts on the data in the new row. The following table lists possible callback events generated by the Database Interface Object.
Event |
Condition |
---|---|
DBE_SELECT |
Got a row of data on a select or stored procedure. |
DBE_ERR_OOM |
Out of memory error. |
DBE_ERR_SQL |
SQL syntax error at run time. |
DBE_ERR_ARG |
Invalid arguments. |
DBE_ERR_NOROWS |
No rows affected on insert/update/delete command. |
DBE_NOTIFY |
Insert/update/delete completed successfully. |
DBE_EMPTY |
SELECT has returned empty result set. |
DBE_RESULT |
SELECT has returned entire result set, which has at least one result row. |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |