@PHOLHAX
DROP TABLE PHXCTL;
@EXECSQL
CREATE TABLE "PHXCTL" 
(
  "CODEMP"	 VARCHAR(4) NOT NULL,
  "CODCAD"	 VARCHAR(10) NOT NULL,
  "CODDEP"	 VARCHAR(4) NOT NULL,
  "CODSET"	 VARCHAR(4) NOT NULL,
  "CODSEC"	 VARCHAR(4) NOT NULL,
  "CODCCU"	 VARCHAR(4) NOT NULL,
  "CODTOM"	 VARCHAR(4) NOT NULL,
  "SEQUEN"	 VARCHAR(4) NOT NULL,
  "CHAVE1"	 VARCHAR(20) NOT NULL,
  "CHAVE2"	 VARCHAR(20) NOT NULL,
  "CHAVE3"	 VARCHAR(20) NOT NULL,
  "CHAVE4"	 VARCHAR(20) NOT NULL,
  "DESCRI"	 VARCHAR(50),
  "CTADEB"	 VARCHAR(20),
  "CTACRE"	 VARCHAR(20),
  "CLADEB"	 VARCHAR(30),
  "CLACRE"	 VARCHAR(30),
  "CCUDEB"       VARCHAR(20),
  "CCUCRE"       VARCHAR(20),
  "CTAGER"	 VARCHAR(20),
  "CLAGER"	 VARCHAR(20),
  "CODHIS"	 VARCHAR(10),
  "CPLHIS"       VARCHAR(80),
  "TOTLAN"	 VARCHAR(15),
  "NIVCNT"	 VARCHAR(20),
  "CAMPO1"	 VARCHAR(20),
  "CAMPO2"	 VARCHAR(20),
  "CAMPO3"	 VARCHAR(20),
  "CAMPO4"	 VARCHAR(20),
 PRIMARY KEY ("CODEMP", "CODCAD", "CODDEP", "CODSET", "CODSEC", "CODCCU", "CODTOM", "SEQUEN", "CHAVE1", "CHAVE2", "CHAVE3", "CHAVE4")
);
@EXECSQL
