9.51 OPG_APIS.RENAME_PG

Format

OPG_APIS.RENAME_PG(
     graph_name    IN VARCHAR2,
     new_graph_name    IN VARCHAR2);

Description

Renames a property graph.

Parameters

graph_name

Name of the property graph.

new_graph_name

New name for the property graph.

Usage Notes

The graph_name property graph must exist in the database.

Examples

The following example changes the name of a property graph named mypg to mynewpg.

EXECUTE OPG_APIS.RENAME_PG('mypg', 'mynewpg');