Difference between revisions of "SET SQLROWID"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET SQLROWID=
 
 
 
 
==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==
<pre>
+
<code lang="recital">
 
set sql on
 
set sql on
 
set sqlrowid on
 
set sqlrowid on
select * from state.rdb where state = "M";</pre>
+
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

SELECT, SQL, UNIQUEROWID()


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