UNIQUEROWID()

From Lianjapedia
Revision as of 07:47, 10 February 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

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(), INDEXKEY(), NDX(), 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")))