Difference between revisions of "EXEC SQL"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Indicates that the statement that follows is an SQL statement
 
Indicates that the statement that follows is an SQL statement
Line 28: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:SQL]]
 
[[Category:SQL]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Revision as of 17:17, 10 November 2009

Purpose

Indicates that the statement that follows is an SQL statement


Syntax

EXEC SQL

<statement>;


See Also

EXECUTE, EXECUTE IMMEDIATE, SET, SET SQL


Description

If SQL is set to Recital, the EXEC SQL indicates that the statement that follows it is an SQL statement.


Example

set sql to recital
EXEC SQL
  SELECT account_no FROM customer;


Products

Recital Server, Recital