opam: update
[sqlgg.git] / test / insert.sql
blob81718f1cf8728d19010624934d449d57700da1d9
1 create table test ( foo integer not null default 12345 );
2 insert into test ( foo ) values ( default );
3 select * from test where foo != default(foo);
4 insert into test VALUES @x;
5 insert into test(foo) VALUES @x;
6 create table test2 ( foo integer not null default 12345, bar text not null default '');
7 insert into test2 VALUES @x;
8 insert into test2(foo, bar) VALUES @x ON DUPLICATE KEY UPDATE bar = @on_collision;