Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.69 KB

File metadata and controls

52 lines (39 loc) · 1.69 KB
title setSavepoint Method (java.lang.String) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerConnection.setSavepoint (java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 1cf15ec4-d9d9-4ab3-bfee-2ea43ff609a6
author David-Engel
ms.author v-daenge

setSavepoint Method (java.lang.String)

[!INCLUDEDriver_JDBC_Download]

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 [!INCLUDEjdbcNoVersion].

See Also

setSavepoint Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class