Muokkaa

Jaa


setSavepoint Method (java.lang.String)

Download JDBC driver

Creates a savepoint with the given name in the current transaction, and returns the new SQLServerSavepoint object that represents it.

Syntax

  
public java.sql.Savepoint setSavepoint(java.lang.String sName)  

Parameters

sName

A String value that contains the name of the savepoint.

Return Value

A SavePoint object.

Exceptions

SQLServerException

Remarks

This setSavePoint method is specified by the setSavePoint method in the java.sql.Connection interface.

The sName argument is automatically escaped by the Microsoft JDBC Driver for SQL Server.

See Also

setSavepoint Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class