DBcancel
Synopsis
DBcancel cancels the currently executing query.
Input Ports
dbvisual_connect_descriptor ptr to a structure
Parameters
dbvisual_descriptor ptr to a structure
connect_information DBconnectInformation group
Output Ports
Description
DBcancel cancels the currently executing query. Canceling a query may be necessary for reasons such as the following:
The query is returning too many rows (it was not selective enough).
The query is returning the wrong data (it was stated incorrectly).
Input
A pointer to the connection descriptor of the session in which DBquery is to execute. This is the output of the DBconnect module that initiated the session.
A trigger that initiates execution of the cancellation of a query. When this value changes to a value greater than 0, the cancel is executed.
Parameters
A message that describes the status of the call to DBcancel.
The status code associated with the message returned in the message parameter. A value of 0 indicates success; a nonzero value indicates failure. For a list of possible values, see The Toolkits Book .
Output Port
Example
File
See also related modules