CREATE TABLE TBTESTE_CARGA (
    ID SMALLINT NOT NULL,
    DESCRICAO VARCHAR(10),
    C1 VARCHAR(10),
    C2 INTEGER,
    C3 INTEGER,
    C4 INTEGER);

ALTER TABLE TBTESTE_CARGA
ADD CONSTRAINT PK_TBTESTE_CARGA
PRIMARY KEY (ID);

CREATE SEQUENCE GTBTESTE_CARGA;

create trigger ttbteste_carga_bi for tbteste_carga
active before insert position 0
as
begin
  if (new.id is null) then
    new.id = gen_id(gtbteste_carga,1);
end;

COMMENT ON TABLE TBTESTE_CARGA IS 'tabela para teste de carga';

