15.10 - APOSTSQL Example - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

prodname
Preprocessor2 for Embedded SQL
vrm_release
15.10
category
Programming Reference
featnum
B035-2446-035K
   EXEC SQL
      DECLARE cursor CURSOR FOR
         ‘SELECT * FROM table
-     ‘WHERE COL1 = ‘‘ABCD’’;
-     ‘UPDATE “table one” SET COL2 = ’’ABCD’’’
   END-EXEC