The latest fixes removed a limitation that was still in the docs, so Zoltan updated the docs, too.
is used.
- Two or more VARCHAR host variables cannot be defined
- in single line statement. The following code will confuse
- the ecpg preprocessor:
-VARCHAR v1[128], v2[128]; /* WRONG */
-
- Two variables should be defined in separate statements like this:
-VARCHAR v1[128];
-VARCHAR v2[128];
-
-
-
VARCHAR can be written in upper or lower case, but
not in mixed case.