Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.RTSetVersions
Sets the maximum number of revisions stored for each row in a revision-tracked table.
Syntax
public int RTSetVersions(String sTable, int nVersions)Parameters
sTable
- Table to modify maximum number of versions.
nVersions
- Maximum number of versions to store for each row. When the maximum is reached, the oldest version is removed. A value of 0 (zero) indicates an unbounded number of versions will be stored. If the value is smaller than the current number of versions on the table, those versions will remain and can be removed manually.
Description
The
RTSetVersions
method sets the maximum number of revisions stored for each row in a revision-tracked table. The current user must havertadmin
privileges on the table.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.