12 lines
208 B
Plaintext
12 lines
208 B
Plaintext
#include <stdio.h>
|
|
|
|
signed main(){
|
|
EXEC SQL BEGIN DECLARE SECTION;
|
|
int i = 10;
|
|
EXEC SQL END DECLARE SECTION;
|
|
EXEC SQL CONNECT TO testdb AS myconnection;
|
|
EXEC SQL INSERT INTO a VALUES (:i);
|
|
|
|
return 0;
|
|
}
|