Types of results

After an application sends a command to a server, it must process any results generated by the command. Types of results include:

A single command can generate more than one type of result. For example, a language command that executes a stored procedure can generate multiple regular row and compute row result sets, a parameter result set, and a return status result set. For this reason, it is important that you code applications to handle all types of results that a server can generate.

The simplest way for an application to handle all result types is to process results in a loop as described in the following section.