This illustration depicts the steps involved in processing SQL statements. This illustration shows six boxes stacked one above the other with downward connecting arrows from the box above to the box below. In addition an arrow from the bottom box returns to the third box and the same arrow returns to the top box The top box is labelled “prepare statements”, the second box is labelled “bind placeholders”, the third box is labelled “execute statement”, the fourth box is labelled “describe select-list items”, the fifth box is labelled “define output variables”, and the sixth and bottom box is labelled “fetch and process data”. Each box represents a processing step for processing SQL statements. Boxes representing Steps 2, 4, 5, and 6 are performed if necessary.

To the right of each box are the calls that can be used for each step. These include: