Difference between revisions of "UNIQUEROWID()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[ALIAS()]], [[DBF()]], [[FCOUNT()]], [[FIELD()]], [[FILTER()]], [[FMT()]], [[INDEXKEY()]], [[NDX()]], [[READVAR()]], [[SELECT()]], [[SEQNO()]], [[WORKAREA()]]
+
[[ALIAS()]], [[DBF()]], [[FCOUNT()]], [[FIELD()]], [[FILTER()]], [[FMT()]], [[INDEXKEY()]], [[NDX()]], [[READVAR()]], [[RECNO()]], [[SELECT()]], [[SEQNO()]], [[WORKAREA()]]
  
  

Revision as of 13:50, 19 June 2009

Class

Data Connectivity


Purpose

Function to return a unique row identifier for the current table or table in the specified workarea


Syntax

UNIQUEROWID([<expN>])


See Also

ALIAS(), DBF(), FCOUNT(), FIELD(), FILTER(), FMT(), INDEXKEY(), NDX(), READVAR(), RECNO(), SELECT(), SEQNO(), WORKAREA()


Description

The UNIQUEROWID() function returns the name of a unique row identifier for the current table. The optional <expN> can be used to specify a workarea number. If there is a table open in the workarea number specified in <expN>, UNIQUEROWID() will return the name of a unique row identifier for that table.


Example

use demo
select state
list state.state, (uniquerowid(select("state")))


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer