
/*------ ATD 383123 ------*/
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'COMPLEMENTONFENTRA' AND COLUMN_NAME = 'BLOQUEARCALCULOFCP')
ALTER TABLE dbo.COMPLEMENTONFENTRA add BLOQUEARCALCULOFCP  NUMERIC (1,0)
GO
/*------ ATD 384434 ------*/
/*------ ATD 384434  ------*/
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'PESQUISA' and column_name = 'OIDUSUARIO')
ALTER TABLE PESQUISA ADD OIDUSUARIO INTEGER