
/*------ ATD 440437 ------*/
-- Alterar coluna CLAFISCCAD.ORIGEM 
IF EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'ORIGEM' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='CLAFISCCAD'))
ALTER TABLE CLAFISCCAD alter column ORIGEM varchar(20)
go