Difference between revisions of "SYSRESULTSET"

From Lianjapedia
Jump to: navigation, search
 
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Used to return the singleton result from any Recital expression
+
Used to return the singleton result from any Lianja expression
 
+
  
 
==See Also==
 
==See Also==
 
[[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]]
 
[[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]]
 
  
 
==Description==
 
==Description==
 
System Tables are system defined read-only tables. You can query these tables using the SELECT statement.
 
System Tables are system defined read-only tables. You can query these tables using the SELECT statement.
  
The SYSRESULTSET system table is used to return the singleton result from any Recital expression.
+
The SYSRESULTSET system table is used to return the singleton result from any Lianja expression.
  
 
+
{| class="wikitable" width="100%"
{| class="wikitable"
+
 
!Column||Data Type||Width
 
!Column||Data Type||Width
 
|-
 
|-
Line 23: Line 20:
 
|-
 
|-
 
|}
 
|}
 
  
 
An error will occur if any expression is specified that returns more than one result.
 
An error will occur if any expression is specified that returns more than one result.
 
  
 
==Example==
 
==Example==
Line 33: Line 28:
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:SQL]]
 
[[Category:SQL]]
 
[[Category:System Tables]]
 
[[Category:System Tables]]

Latest revision as of 10:46, 31 January 2013

Purpose

Used to return the singleton result from any Lianja expression

See Also

DATA TYPES, SELECT, SYSTEM TABLES

Description

System Tables are system defined read-only tables. You can query these tables using the SELECT statement.

The SYSRESULTSET system table is used to return the singleton result from any Lianja expression.

Column Data Type Width
<expression1> <result1 type> <result1 width>
<expression256> <result256 type> <result256 width>

An error will occur if any expression is specified that returns more than one result.

Example

select set("EXCLUSIVE") as Excl, time() as Time from sysresultset