Difference between revisions of "EXEC SQL"

From Recital Documentation Wiki
Jump to: navigation, search
Line 14: Line 14:
  
 
==See Also==
 
==See Also==
[[EXECUTE]], [[EXECUTE IMMEDIATE]], [[SET SQL]]
+
[[EXECUTE]], [[EXECUTE IMMEDIATE]], [[SET]], [[SET SQL]]
  
  

Revision as of 10:59, 11 June 2009

Class

SQL Applications


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 Database Server, Recital Mirage Server, Recital Terminal Developer