Modified inserttb.sql.