Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Matt McDawell: "Your practical knowledge & experience, supported by your dedication and hard work set new standards. Taking you into account is the best decision our company has made".
Dan Flazer: "Your new product and your assistance with us was excellent...will prove invaluable to the future of our company".

More

Add your opinion

MaxDB Maestro online Help

Prev Return to chapter overview Next

Create Synonym Wizard

New synonyms are created within Create Synonym Wizard. In order to run the wizard you should either

 

select the Object | Create Database Object... main menu item;
select the Synonym icon in the Create Database Object dialog

or

select the Synonyms list or any object from that list in the explorer tree;
select the Create New Synonym... item from the popup menu

or

open the schema in Schema Editor and the Synonyms tab there;
press the Insert key or select the Create New Synonym... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).

       

To create a new synonym with the same properties as one of the existing synonyms has:

 

select the Object | Duplicate Database Object... main menu item;
follow the instructions of Duplicate Object Wizard.
 

The basic principles of Create Object Wizards in MaxDB Maestro are covered by the corresponding topic. See below to find the description of wizard steps that are unique to the current object.

 

Owner

Select the owner for the synonym. By default, only the owner of an object can perform various operations with the object. In order to allow other users to operate it, privileges must be granted. (However, users that have the superuser attribute can always access any object.)

 

Comment

Specify a comment to the synonym.

 

Table

Specify the base object that the synonym references. The table must not denote a temporary base table. The user must have a privilege for the specified table. Only the name of the current user is permitted as the schema name. The synonym name can be specified anywhere instead of the table name. This has the same effect as specifying the table name for which the synonym was defined.

 

Public

If specified, the synonym name must not be identical to the name of a synonym defined with Public option. A synonym is generated that can be accessed by all users.

Otherwise, a private synonym is generated that is only known by the current user. In this case, the synonym name must not be identical to the name of an existing base table, view table, or a private synonym of the current user. If a synonym with the same name and the PUBLIC attribute exists, it cannot be accessed by the current user until the private synonym has been dropped.

 

See also: Synonym Editor
 

 



Prev Return to chapter overview Next