Pre-compiles and stores into a PreparedStatement object a SQL statement with or without IN parameters.
PreparedStatement prepareStatement(String sql, String persistName)
sql A SQL statement that may contain one or more '?' IN parameter placeholder.
persistName The name for cross-page JavaScript object persistence. Set to null if no persistence is required (for example, if the application has only a single HTML page).
This object can be used to efficiently execute the SQL statement multiple times.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |