Entering content frame

 Creating a Synonym 

Use

You can use SQL Studio to create synonyms for database tables.

Prerequisites

You have the necessary user authorizations and the user attribute NOT EXCLUSIVE.

For an explanation of user authorizations and user attributes, see the User Concept section of the documentation Database Administration and the Authorization section of the Reference Manual.

Procedure

1.       In the Catalog Manager select the database table that you want to create a synonym for, and choose Catalog Manager ® New ® Synonym Definition.
A window for defining the synonym is opened.

2.       Enter a synonym name, and select whether the synonym is to be private or public.

3.       Choose Synonym Definition ® Create Synonym.

To export the SQL statement for creating the synonym to the SQL dialog, choose Synonym Definition ® Export to SQL Dialog.

For information on the syntax of CREATE SYNONYM statements, see the CREATE SYNONYM Statement section of the Reference Manual.

 

Leaving content frame