1 DROP TABLE username_test;
3 CREATE TABLE username_test (
8 CREATE TRIGGER insert_usernames
9 BEFORE INSERT OR UPDATE ON username_test
11 EXECUTE PROCEDURE insert_username (username);
13 INSERT INTO username_test VALUES ('nothing');
14 INSERT INTO username_test VALUES ('null', null);
15 INSERT INTO username_test VALUES ('empty string', '');
16 INSERT INTO username_test VALUES ('space', ' ');
17 INSERT INTO username_test VALUES ('tab', ' ');
18 INSERT INTO username_test VALUES ('name', 'name');
20 SELECT * FROM username_test;