CREATE TABLE HTTPRQ (ID BIGINT NOT NULL,EXT_ID BIGINT,PODR VARCHAR(5),DT TIMESTAMP,IP VARCHAR(16),    HTTPGET BLOB SUB_TYPE 1 SEGMENT SIZE 80, HTTPPOST BLOB SUB_TYPE 1 SEGMENT SIZE 80, HTTPRESP BLOB SUB_TYPE 1 SEGMENT SIZE 80, CMD VARCHAR(16), STAT INTEGER, TM BIGINT, RQDT TIMESTAMP)`
alter table HTTPRQ add constraint PK_HTTPRQ primary key (ID)`
CREATE SEQUENCE GEN_HTTPRQ_ID`
create trigger httprq_bi for httprq active before insert position 0 as begin if (new.id is null) then  new.id = gen_id(gen_httprq_id,1); end`