You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{ ECPGdo(__LINE__, 0, 1, NULL, "create table meskes ( name char ( 8 ) , born integer , age smallint , married date , children integer ) ", ECPGt_EOIT, ECPGt_EORT);
183
-
#line48 "test2.pgc"
179
+
#line46 "test2.pgc"
184
180
185
181
if (sqlca.sqlwarn[0] =='W') warn ( );
186
-
#line48 "test2.pgc"
182
+
#line46 "test2.pgc"
187
183
188
184
if (sqlca.sqlcode<0) Finish ( msg );}
189
-
#line48 "test2.pgc"
185
+
#line46 "test2.pgc"
190
186
191
187
192
188
strcpy(msg, "insert");
193
-
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , married , children ) values( 'Petra' , '19900404' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
194
-
#line51 "test2.pgc"
189
+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , married , children ) values( 'Petra' , '19900404' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
190
+
#line49 "test2.pgc"
195
191
196
192
if (sqlca.sqlwarn[0] =='W') warn ( );
197
-
#line51 "test2.pgc"
193
+
#line49 "test2.pgc"
198
194
199
195
if (sqlca.sqlcode<0) Finish ( msg );}
200
-
#line51 "test2.pgc"
196
+
#line49 "test2.pgc"
201
197
202
-
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age , married , children ) values( 'Michael' , 19660117 , 35 , '19900404' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
203
-
#line52 "test2.pgc"
198
+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age , married , children ) values( 'Michael' , 19660117 , 35 , '19900404' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
199
+
#line50 "test2.pgc"
204
200
205
201
if (sqlca.sqlwarn[0] =='W') warn ( );
206
-
#line52 "test2.pgc"
202
+
#line50 "test2.pgc"
207
203
208
204
if (sqlca.sqlcode<0) Finish ( msg );}
209
-
#line52 "test2.pgc"
205
+
#line50 "test2.pgc"
210
206
211
-
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age ) values( 'Carsten' , 19910103 , 10 ) ", ECPGt_EOIT, ECPGt_EORT);
212
-
#line53 "test2.pgc"
207
+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age ) values( 'Carsten' , 19910103 , 10 ) ", ECPGt_EOIT, ECPGt_EORT);
208
+
#line51 "test2.pgc"
213
209
214
210
if (sqlca.sqlwarn[0] =='W') warn ( );
215
-
#line53 "test2.pgc"
211
+
#line51 "test2.pgc"
216
212
217
213
if (sqlca.sqlcode<0) Finish ( msg );}
218
-
#line53 "test2.pgc"
214
+
#line51 "test2.pgc"
219
215
220
-
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age ) values( 'Marc' , 19930907 , 8 ) ", ECPGt_EOIT, ECPGt_EORT);
221
-
#line54 "test2.pgc"
216
+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age ) values( 'Marc' , 19930907 , 8 ) ", ECPGt_EOIT, ECPGt_EORT);
217
+
#line52 "test2.pgc"
222
218
223
219
if (sqlca.sqlwarn[0] =='W') warn ( );
224
-
#line54 "test2.pgc"
220
+
#line52 "test2.pgc"
225
221
226
222
if (sqlca.sqlcode<0) Finish ( msg );}
227
-
#line54 "test2.pgc"
223
+
#line52 "test2.pgc"
228
224
229
-
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age ) values( 'Chris' , 19970923 , 4 ) ", ECPGt_EOIT, ECPGt_EORT);
230
-
#line55 "test2.pgc"
225
+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into meskes ( name , born , age ) values( 'Chris' , 19970923 , 4 ) ", ECPGt_EOIT, ECPGt_EORT);
226
+
#line53 "test2.pgc"
231
227
232
228
if (sqlca.sqlwarn[0] =='W') warn ( );
233
-
#line55 "test2.pgc"
229
+
#line53 "test2.pgc"
234
230
235
231
if (sqlca.sqlcode<0) Finish ( msg );}
236
-
#line55 "test2.pgc"
232
+
#line53 "test2.pgc"
237
233
238
234
239
235
strcpy(msg, "commit");
240
236
{ ECPGtrans(__LINE__, NULL, "commit");
241
-
#line58 "test2.pgc"
237
+
#line56 "test2.pgc"
242
238
243
239
if (sqlca.sqlwarn[0] =='W') warn ( );
244
-
#line58 "test2.pgc"
240
+
#line56 "test2.pgc"
245
241
246
242
if (sqlca.sqlcode<0) Finish ( msg );}
247
-
#line58 "test2.pgc"
243
+
#line56 "test2.pgc"
248
244
249
245
250
246
strcpy(msg, "open");
251
247
{ ECPGdo(__LINE__, 0, 1, NULL, "declare cur cursor for select name , born , age , married , children from meskes ", ECPGt_EOIT, ECPGt_EORT);
0 commit comments