@PHONTOD

CREATE TABLE "PHMBAT" 
(
  "CRACHA"	 VARCHAR(15) NOT NULL,
  "DATBAT"	 DATE NOT NULL,
  "HORBAT"	 VARCHAR(5) NOT NULL,
  "TIPRLG"       VARCHAR(4) NOT NULL,
  "CODRLG"       VARCHAR(4),
  "CODREP"	 VARCHAR(20),
  "FUNCAO"       VARCHAR(5),
  "TIPMAR"	 VARCHAR(2),
  "CODMAR"	 VARCHAR(3),
 PRIMARY KEY ("CRACHA", "DATBAT", "HORBAT", "TIPRLG")
);

@EXECSQL
