ALTER TABLE QUESTIONARIO DROP CONSTRAINT CKC_IDAPLICATIVO_QUESTIONARIO
/
ALTER TABLE QUESTIONARIO DROP COLUMN IDAPLICATIVO
/
ALTER TABLE PROGRAMACAOPESQ DROP CONSTRAINT CKC_IDAPLICATIVO_PROGRAMACPESQ
/
ALTER TABLE PROGRAMACAOPESQ ADD CONSTRAINT CKC_IDAPLICATIVO_PROGRAMACPESQ CHECK (IDAPLICATIVO IN ('MYMENU', 'MYQUEST', 'QUESTION'))
/
ALTER TABLE EXECUCAOPESQ DROP CONSTRAINT CKC_IDAPLICATIVO_EXECUCAOPESQ
/
ALTER TABLE EXECUCAOPESQ ADD CONSTRAINT CKC_IDAPLICATIVO_EXECUCAOPESQ CHECK (IDAPLICATIVO IN ('MYMENU', 'MYQUEST', 'QUESTION'))