SET SQLROWID

From Lianjapedia
Jump to: navigation, search

Purpose

To include a unique row identifier in SELECT * statements

Syntax

SET SQLROWID ON | OFF

See Also

SELECT, SQL

Description

The SET SQLROWID ON | OFF command is used to determine whether a unique row identifier in should be included in SELECT * statements. If SET SQLROWID is ON, the unique row identifier will be included, if SET SQLROWID is OFF, only the fields from the table will be included.

Example

set sql on
set sqlrowid on
select * from state.rdb where state = "M";