SET SEQNO

From Lianjapedia
Revision as of 07:13, 10 December 2012 by Admin (Talk | contribs)

Jump to: navigation, search

Purpose

Reset sequence numbering to specified number


Syntax

SET SEQNO TO <expN>


See Also

CURRSEQNO(), SEQNO(), ZAP


Description

The SET SEQNO TO <expN> command resets the sequence number of the currently active table to the specified <expN> value. The next time the SEQNO() function is called, the value returned will be <expN> + 1. The ZAP command will reset the sequence number to 0. The next time the SEQNO() function is called, the value returned will be 1.

The SET SEQNO command and CURRSEQNO() and SEQNO() functions are only supported for Lianja tables.


Example

use demo
set seqno to 2000
edit


Products

Lianja Server, Lianja