Step 2: Get a description of command inputs

After a statement is prepared, the application can send a describe-input command to the server to obtain a description of any parameters that are required to execute the statement. This description includes the number of input values, as well as their datatypes, lengths, and so on. The application can then use this information to prompt the end user for input values. After prompting for input values, it can pass those values to the prepared statement just prior to executing the statement.