PgDAC

TPgConnection.Savepoint Method

Defines a point in the transaction to which you can roll back later.

Class

TPgConnection

Syntax

procedure Savepoint(const Name: string);

Parameters
Name
Holds the name of the savepoint.

Remarks

Call the Savepoint method to define a point in the transaction to which you can roll back later. As the parameter, you can pass any valid name to identify the savepoint.

To roll back to the last savepoint call RollbackToSavepoint.

See Also

© 1997-2018 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback