Difference between revisions of "ALIAS()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[DBF()]], [[SELECT]], [[SELECT()]], [[USE]], [[WORKAREA()]]
+
[[AUSED()]], [[DBF()]], [[SELECT]], [[SELECT()]], [[USE]], [[WORKAREA()]]
  
 
==Description==
 
==Description==

Revision as of 06:27, 1 October 2012

Purpose

Function to return an alias name

Syntax

ALIAS([<expN>])

See Also

AUSED(), DBF(), SELECT, SELECT(), USE, WORKAREA()

Description

The ALIAS() function returns, as a character string in upper case, the alias name of the table in the currently selected workarea, or a null string if no table is active. The optional parameter <expN> can be used to specify the workarea number in which the ALIAS() function should operate.

Example

use demo
? alias()
CUSTOMER
? alias(2)
ACCOUNTS
? dbf()
customer.rdb