Difference between revisions of "SET SQLROWID"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
SQL Applications | SQL Applications | ||
Line 15: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[SELECT]], [[UNIQUEROWID()]] | + | [[SELECT]], [[:Category:SQL|SQL]], [[UNIQUEROWID()]] |
Line 23: | Line 20: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
set sql on | set sql on | ||
set sqlrowid on | set sqlrowid on | ||
− | select * from state.rdb where state = "M";</ | + | select * from state.rdb where state = "M"; |
+ | </code> | ||
Revision as of 11:38, 20 April 2009
Class
SQL Applications
Purpose
To include a unique row identifier in SELECT * statements
Syntax
SET SQLROWID ON | OFF
See Also
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";
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer