1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include <stdlib.h> #include <string.h> #include <stdlib.h> #include <stdio.h> exec sql include ../regression; int main(void) { ECPGdebug(1, stderr); exec sql connect to REGRESSDB1 as main; exec sql set connection to main; exec sql disconnect DEFAULT; return 0; }