Oracle8i Supplied PL/SQL Packages Reference
Release 2 (8.1.6)

Part Number A76936-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

DBMS_TTS , 2 of 2


Summary of Subprograms

These two procedures are designed to be called by database administrators.

Table 55-1 DBMS_TTS Package Subprograms
Subprogram  Description 

TRANSPORT_SET_CHECK Procedure 

Checks if a set of tablespaces (to be transported) is self-contained. 

DOWNGRADE Procedure 

Downgrades transportable tablespace related data. 

TRANSPORT_SET_CHECK Procedure

This procedure checks if a set of tablespaces (to be transported) is self-contained. After calling this procedure, the user may select from a view to see a list of violations, if there are any. If the view does not return any rows, then the set of tablespaces is self-contained. For example,

SQLPLUS> EXECUTE TRANSPORT_SET_CHECK('foo,bar', TRUE);
SQLPLUS> SELECT * FROM TRANSPORT_SET_VIOLATIONS;

Syntax

DBMS_TTS.TRANSPORT_SET_CHECK (
   ts_list          IN VARCHAR2, 
   incl_constraints IN BOOLEAN);

Parameters

Table 55-2 TRANSPORT_SET_CHECK Procedure Parameters
Parameter  Description 
ts_list
 

List of tablespace, separated by comma. 

incl_constraints
 

TRUE if you'd like to count in referential integrity constraints when examining if the set of tablespaces is self-contained. 

DOWNGRADE Procedure

This procedure downgrades transportable tablespace related data.

Syntax

DBMS_TTS.DOWNGRADE;

Parameters

None.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index