5.2 Adding a Comment to a SQL Property Graph

Using the COMMENT ON PROPERTY GRAPH DDL statement, you can add a comment to a property graph object in Oracle AI Database.

See Granting System and Object Privileges for SQL Property Graphs to ensure you have the required privilege to add a comment to a SQL property graph.

Example 5-2 Adding a comment to a SQL Property Graph

The following example adds a comment to the SQL property graph students_graph in the graphuser schema.

COMMENT ON PROPERTY GRAPH graphuser.students_graph IS 'The graph describes a student network graph';

Note that if you omit the schema when specifying the graph name, then Oracle AI Database assumes that the property graph is in your own schema.