[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
EmbeddedSqlC
Note:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
EmbeddedSqlC
Embedded SQl in C
/*
- QUERY001.C
- Programmed by Richel Bilderbeek at 27-11-2006
- Problem:
- Every case_id needs to have unique interr_id's.
- For case_id = '00066967' there are two interr_id = '8@@@@@@'.
- Solution:
- This program updates a single interr_id to '9@@@@@@'
- /
- include <stdio.h>
- pragma mapinc("INTERR","*LIBL/INTERR(*ALL)","both","D Z",,"INTERR")
Note:
- You cannot put a macro in an Embedded SQL statement
- You cannot store values from COUNT in an integer, but in a long.
External links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
