ALTER TABLE LD0P0PDF
  ADD PLANAKTIVITETNR  DECIMAL(9)
  CONSTRAINT LD0P0PDF_PLANAKTIVITETNR	DEFAULT 0 NOT NULL
;

ALTER VIEW LD0V0PDF AS SELECT * FROM LD0P0PDF
;
GRANT ALL ON LD0V0PDF TO LD0ROANV
;

ALTER VIEW LD0VYPDF AS SELECT * FROM LD0P0PDF
;
GRANT ALL ON LD0VYPDF TO LD0ROANV
;

ALTER VIEW PCCV0PDF AS SELECT * FROM LD0P0PDF
;
GRANT ALL ON PCCV0PDF TO LD0ROANV
;

ALTER VIEW PCCVYPDF AS SELECT * FROM LD0P0PDF
;
GRANT ALL ON PCCVYPDF TO LD0ROANV
;
