Was this helpful?
The terminator for Ada is the semicolon (;). For example, a select statement embedded in an Ada program would look like:
exec sql select ename
        into :namevar
        from employee
        where eno = :numvar;
An Embedded SQL statement cannot be followed on the same line by another embedded statement or an Ada statement. Doing so will cause preprocessor syntax errors on the second statement. Following the Ada terminator, only comments and white space (blanks and tabs) are allowed to the end of the line.
Last modified date: 06/10/2024