Entering content frame

Procedure documentation Creating a Synonym Locate the document in the library structure

Use

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

Prerequisites

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

Note

For an explanation of user authorizations and user attributes, see the Structure linkDatabase Users section of the Concepts of the Database System documentation and the Structure linkAuthorization section of the SQL Reference Manual.

Procedure

In Catalog Manager, select the database table for which you want to create a synonym, and choose Catalog Manager ® New ® Synonym Definition.
The system opens a window for defining the synonym.

1.       Enter a synonym name and choose whether the synonym is to be private or Public.

2.       Choose Synonym Definition ® Create Synonym.

Note

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 Structure linkCREATE SYNONYM Statement section of the SQL Reference Manual.

 

Leaving content frame