@PHOLHAD
CREATE TABLE "PHTCSP" 
(
  "CODCSP"	 VARCHAR(4) NOT NULL,
  "DESCRI"	 VARCHAR(50),
 PRIMARY KEY ("CODCSP")
);
@EXECSQL

CREATE TABLE "PHTCSP2" 
(
  "CODCSP"	 VARCHAR(4) NOT NULL,
  "ANOREF"	 VARCHAR(4) NOT NULL,
  "VALREF"	 VARCHAR(15),
  "LIMFX1"	 VARCHAR(15),
  "ALQFX1"	 VARCHAR(6),
  "PARFX1"	 VARCHAR(15),
  "LIMFX2"	 VARCHAR(15),
  "ALQFX2"	 VARCHAR(6),
  "PARFX2"	 VARCHAR(15),
  "LIMFX3"	 VARCHAR(15),
  "ALQFX3"	 VARCHAR(6),
  "PARFX3"	 VARCHAR(15),
  "LIMFX4"	 VARCHAR(15),
  "ALQFX4"	 VARCHAR(6),
  "PARFX4"	 VARCHAR(15),
  "LIMFX5"	 VARCHAR(15),
  "ALQFX5"	 VARCHAR(6),
  "PARFX5"	 VARCHAR(15),
  "LIMFX6"	 VARCHAR(15),
  "ALQFX6"	 VARCHAR(6),
  "PARFX6"	 VARCHAR(15),
  "LIMFX7"	 VARCHAR(15),
  "ALQFX7"	 VARCHAR(6),
  "PARFX7"	 VARCHAR(15),
 PRIMARY KEY ("CODCSP", "ANOREF")
);
@EXECSQL

