Assemble a prepared statement

The mi_prepare() function passes the SQL statement to the database server as a statement string. For the mi_prepare() function, a statement string can contain either of the following formats of an SQL statement:
  • An unparameterized SQL statement (the same as the mi_exec() function accepts)
  • A parameterized SQL statement, which contains input parameters