All Products
Search
Document Center

Overview

Last Updated: Jun 18, 2021

In ApsaraDB for OceanBase, you can create three types of comments:

  • Comments in SQL statements: The comments of this type are stored as part of the application code that is used to execute the SQL statements.

  • Comments on schema and non-schema objects: The comments of this type and the object metadata are stored in a data dictionary.

  • Hints: Hints are comments that are located in SQL statements and pass instructions to the ApsaraDB for OceanBase optimizer.