Convention | Usage |
---|---|
Margins | None are used. |
; (semicolon) | Represents the statement terminator. |
Labels | Appear on their own line and are followed by a colon (:). Control passes to the statement following the label. |
Host language comments | Indicated by the OpenSQL comment indicator; for example: /* This is a comment. */ |
' ' (single quotes) | Surround character strings. |
pseudocode | Represents host language statements in embedded OpenSQL. For example: exec sql begin declaration; variable declarations exec sql end declaration; |