| title | setSavepoint Method (java.lang.String) |
|---|---|
| description | setSavepoint Method (java.lang.String) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerConnection.setSavepoint (java.lang.String) |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Creates a savepoint with the given name in the current transaction, and returns the new SQLServerSavepoint object that represents it.
public java.sql.Savepoint setSavepoint(java.lang.String sName)
sName
A String value that contains the name of the savepoint.
A SavePoint object.
This setSavePoint method is specified by the setSavePoint method in the java.sql.Connection interface.
The sName argument is automatically escaped by the [!INCLUDEjdbcNoVersion].
setSavepoint Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class