prepare

prepare takes an SQL statement as an argument and returns a statement handle. prepare takes the SQL statement and stores it in an internal, compiled form. It also gets the SQL statement ready for the execute function call.

Example:

$statement_handle = $db_handle->prepare("SELECT * FROM library");



Perl Database Programming
Perl Database Programming
ISBN: 0764549561
EAN: 2147483647
Year: 2001
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net