
/*------ ATD 406533 ------*/
-- Alteracao da estrutura da tabela PESQUISA
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'PESQUISA' AND COLUMN_NAME = 'FLAGCRIACAO') 
alter TABLE PESQUISA add FLAGCRIACAO INT
go
