- We use CodeGen to generate out code for SQL Replication
- We have a structure that has: Tag FIELD PRPROD NE " "
- PRPROD is defined as an ALPHA, Size 16 in the structure
- Our CodeGen template contains
- <TAG_LOOP>if (tmprec.<tagloop_field_originalname><TAGLOOP_OPERATOR_DBL><TAGLOOP_TAG_VALUE>) begin</TAG_LOOP>
- Generated code:
- if (tmprec.prprod.NE." ") begin
- The quoted blank string is only 15 characters long
- This field contains right justified alpha characters.
- “xxxxxxxxxxxxxxx1”, x’s represents blanks, specified only for clarity of discussion.
We just tried the latest version of CodeGen and it made no difference.
We just tried the latest version of CodeGen and it made no difference.