CREATE TABLE bm_calculator_tab (
    ID               NUMBER(18, 0) ,
    COMPANY_ID       NUMBER(18, 0)     NOT NULL,
    CALCULATOR_ID    NUMBER(18, 0)     NOT NULL,
    TITLE            VARCHAR2(1020),
    TAB_NAME         VARCHAR2(1020)    NOT NULL,
    ATTACHMENT       NUMBER(18, 0) ,
    HEADER_TEXT      CLOB          ,
    FUNCTION_ID      NUMBER(18, 0) ,
    TAB_ORDER        NUMBER(5, 0)      NOT NULL,
    VISIBLE          NUMBER(1, 0)      NOT NULL,
    DATE_ADDED       DATE          ,
    DATE_MODIFIED    DATE          ,
    GUID             VARCHAR2(1020)    NOT NULL,
    ID               NUMBER(18, 0) ,
    COMPANY_ID       NUMBER(18, 0)     NOT NULL,
    CALCULATOR_ID    NUMBER(18, 0)     NOT NULL,
    TITLE            VARCHAR2(1020),
    TAB_NAME         VARCHAR2(1020)    NOT NULL,
    ATTACHMENT       NUMBER(18, 0) ,
    HEADER_TEXT      CLOB          ,
    FUNCTION_ID      NUMBER(18, 0) ,
    TAB_ORDER        NUMBER(5, 0)      NOT NULL,
    VISIBLE          NUMBER(1, 0)      NOT NULL,
    DATE_ADDED       DATE          ,
    DATE_MODIFIED    DATE          ,
    GUID             VARCHAR2(1020)    NOT NULL,
    CONSTRAINT pk_bm_calculator_tab PRIMARY KEY (ID, ID)
);
