Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.RTRollback

Reverts a row in a revision-tracked table to a previous revision.

The current user must have the row locked and have rtaudit privileges against the table to roll back the row.

This method has two variants:


ICS.RTRollback

Reverts a row in a revision-tracked table to a previous version.

Syntax

Parameters

sTable
Name of the table containing the row to revert to a previous version.

sAsset
Value of the primary key for the row to revert to a previous version.

nVersion
Version to make current.

Description

The RTRollback method reverts a row in a revision-tracked table to a previous version.

The current user must have the row locked and have rtaudit privileges against the table to roll back the row.

This version of RTRollback() accepts an integer version number to roll back to.

Returns

Returns the errno. If -1000, check the RT details error.


ICS.RTRollback

Reverts a row in a revision-tracked table to a previous version.

Syntax

Parameters

sTable
Name of the table containing row to revert to a previous version.

sAsset
Value of the primary key for the row to revert to a previous version.

strVersion
Version to make current. Specify one of the following strings:

Description

The RTRollback method reverts a row in a revision-tracked table to a previous revision. The current user must have the row locked and have rtaudit privileges against the table to roll back the row.

Returns

Returns the errno. If -1000, check the RT details error.

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.