Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

SQLServerPreparedStatement Class

Represents the basic implementation of JDBC prepared statement functionality.

Package: com.microsoft.sqlserver.jdbc

Extends: SQLServerStatement

Implements: java.sql.PreparedStatement


public class SQLServerPreparedStatement

The SQLServerPreparedStatement class provides methods that let you supply parameters as any native Java type and many Java object types. The SQLServerPreparedStatement class prepares a statement by using the SQL Server sp_prepare stored procedure, and then reuses the returned statement handle for each subsequent running of the statement, typically using different parameters provided by the user.

The SQLServerPreparedStatement class supports batching, where a set of prepared statements are run in a single database round trip, to improve runtime performance.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.