Description
List synonyms under the schema
Syntax
-
IN schema_name
: Optional parameter, used to specify the schema name. With this parameter, users can view all synonyms under the specified schema. -
WHERE expr
: Optional parameter, allows users to filter based on the fields displayed by theSHOW SYNONYMS
command. This parameter provides a more flexible query method, allowing filtering based on actual needs.
Example
- Filter by synonym name
- View synonyms under a specified schema