Progress
Language Reference
ALIAS Function
The ALIAS function returns the alias corresponding to the integer value of expression.
SYNTAX
integer-expression
If there are, for example, three currently defined aliases, the functions ALIAS(1), ALIAS(2), and ALIAS(3) return them. If the ALIAS function cannot find a defined alias, it returns the unknown value (?). For example, building on the previous example of three defined aliases, the functions ALIAS(4), ALIAS(5), and ALIAS(6) return the unknown value (?) because they cannot find a defined alias.
EXAMPLEThis procedure displays the aliases and logical names of all connected databases.
SEE ALSO
CONNECT Statement, CONNECTED Function, CREATE ALIAS Statement, CREATE DATABASE Statement, DATASERVERS Function, DBCODEPAGE Function, DBCOLLATION Function, DBRESTRICTIONS Function, DBTYPE Function, DBVERSION Function, DELETE ALIAS Statement, DISCONNECT Statement, FRAME-DB Function, LDBNAME Function, NUM-ALIASES Function, NUM-DBS Function, PDBNAME Function, SDBNAME Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |