
/*------ ATD 434549 ------*/
IF EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'Descr' AND length = '500' AND
            syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name = 'CadTextCad'))
    ALTER TABLE CadTextCad ALTER COLUMN Descr CHAR(35)
GO