Aliases

Top  Previous  Next

Every data element (data sources and columns) has got its own name. By default, this is the name defined in the database. In some cases, it can be difficult to understand what is hidden behind such name, for example, ProdID.

 

Data elements have got a second name - alias. By using an alias, you can rename an element. For example, if we have got a data source CATEGORY_TABLE with a column called "PROD_ID", you can give the following alias:

 

CATEGORY_TABLE --> Categories

PROD_ID --> Product ID

 

You can refer to such a data column in the following way:

 

[Categories.Product ID]

 

 

When referring to the data element, you must use the alias, if it has been defined. Never refer to an element by using its original name in this case.

 

In order to rename a data element in this case, choose it in the "Data" window, and press F2. Also, you can select a "Rename" item in the object's context menu. After this, enter the required name and press Enter.

 

You can also rename an element by using the "Properties" window. Select an element in the "Data" window, switch to the "Properties" window and change the value of the "Alias" property.

 

In order to delete an alias (reset to the original name), select an element and choose the "Delete alias" item in its context menu.