Home > Contents > Index >
CATALOGMANAGER.setversions
Sets the number of revisions stored for each row in a tracked table using the
CATALOGMANAGERcommand.Syntax
<CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="setversions" /> <ARGUMENT NAME="tablename" VALUE="table" /> <ARGUMENT NAME="numversions" VALUE="number"/> </CATALOGMANAGER>Parameters
ftcmd (required)- Value must be set to
setversions.
tablename (required)- Name of the tracked table.
numversions (required)- Number of revisions to be stored for each row in a tracked table.
Description
The
setversionscommand sets the number of revisions stored for each row in a tracked table. The current user must havertadminprivileges on the table.Error Numbers
The possible values of
errnoinclude:
Value Description -103 No such table. -104 No table definition. -105 Database error.Example
This example sets the maximum number of revisions for rows in the
moviestable to8.<SETVAR NAME="errno" VALUE="0" /> <CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="setversions"/> <ARGUMENT NAME="tablename" VALUE="movies" /> <ARGUMENT NAME="numversions" VALUE="8" /> </CATALOGMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.