adding test scripts
[csql.git] / test / tools / csql / auto_increment.sql
blob7cee92488550f038c02296bbe8b5c20293510927
1 echo create table t1(f1 int,f2 int auto_increment);
2 create table t1(f1 int,f2 int auto_increment);
3 echo insert into t1 values(12,NULL);
4 insert into t1 values(12,NULL);
5 echo insert into t1 (f1)values(12);
6 insert into t1 (f1)values(12);
7 echo insert into t1 values(12,232);
8 insert into t1 values(12,232);
9 echo select * from t1;
10 select * from t1;
11 echo create table t2(f1 int,f2 int auto_increment);
12 create table t2(f1 int,f2 int auto_increment);
13 echo insert into t2 values(12,200);
14 insert into t2 values(12,200);
15 echo insert into t2 values(12,NULL);
16 insert into t2 values(12,NULL);
17 echo insert into t2 (f1) values(12);
18 insert into t2 (f1) values(12);
19 echo select * from t2;
20 select * from t2;
21 echo drop table t1;
22 drop table t1;
23 echo drop table t2;
24 drop table t2;
25 echo create table t1(f1 int auto_increment, f2 int auto_increment);
26 create table t1(f1 int auto_increment, f2 int auto_increment);
27 echo create table t1(f1 int , f2 char(10) auto_increment);
28 create table t1(f1 int , f2 char(10) auto_increment);