Semantics : PrepareStatement

PrepareStatement  ::=  ( prepare | prepareCall ) ( IDENTIFIER )? ( using IDENTIFIER )? : Mixture ;

Used by:  

This prepares a SQL statement, either for query/updates or stored procedure call (prepareCall ). It can use the default connection $$con or a named connection with using clause. The prepared statement can be stored in the default database handle variable, $$ , or in a named variable. The SQL statement is a Mixture between the : and ; .