Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 3.07 KB

preparestatement-method-sqlserverconnection.md

File metadata and controls

34 lines (28 loc) · 3.07 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
prepareStatement Method (SQLServerConnection)
prepareStatement Method (SQLServerConnection)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerConnection.prepareStatement
Assembly

prepareStatement Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database.

Overload List

Name Description
prepareStatement (java.lang.String) Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database.
prepareStatement (java.lang.String, int) Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database, and has the capability to retrieve auto-generated keys.
prepareStatement (java.lang.String, int[]) Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database, and that is capable of returning the auto-generated keys that are designated by the given array.
prepareStatement (java.lang.String, int, int) Creates a SQLServerPreparedStatement object that generates SQLServerResultSet objects with the given type and concurrency.
prepareStatement (java.lang.String, int, int, int) Creates a SQLServerPreparedStatement object that generates SQLServerResultSet objects with the given type, concurrency, and holdability.
prepareStatement (java.lang.String, java.lang.String[]) Creates a SQLServerPreparedStatement object for sending parameterized SQL statements to the database.

See Also

SQLServerConnection Members
SQLServerConnection Class