Navigation:  NexusDB Guide > SQL Reference > Value Expressions >

Row Value Expressions

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

Row Value Expressions

button_main button_prev button_next

NexusDB Manual V3 > SQL Reference > Value Expressions

Specify a value or list of values to construct a row value.

 

Syntax

 

<row value expression> ::= <explicit row value constructor>

 

<explicit row value constructor> ::=

<row value constructor element list> ::=

<row value constructor element> ::= <value expression>

 

<contextually typed row value expression> ::= <contextually typed row value constructor>

 

<contextually typed row value constructor> ::=

<contextually typed value specification> ::=

<null specification> ::= NULL

 

<default specification> ::= DEFAULT

 

<contextually typed row value constructor element list> ::=

<contextually typed row value constructor element> ::=

<row value predicand> ::= <row value constructor predicand>

 

<row value constructor predicand> ::=

<contextually typed table value constructor> ::=

<contextually typed row value expression list> ::=

 

Notes

 

§

Row value constructors with more than 1 row value element are only supported in the INSERT statement in NexusDB V3 SQL.

 

 

Examples

 

1) The following example selects students from California and New York:

 

      SELECT studentName, state

      FROM students

      WHERE state IN ( 'CA', 'NY' )

 

2)

The following example inserts two new rows into the documents table:

 

      INSERT into documents ( documentID, title )

      VALUES ( NEWGUID, 'NexusDB main features' ), ( NEWGUID, 'NexusDB special features' )

 

 


Conformance

 

SQL:2003 standard

-

Core SQL

 

© Nexus Database Systems Pty Ltd.

nexus_logo