
/*------ ATD 324862 ------*/
IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'NumOrd' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='CHEVISTCAD')) 
	ALTER TABLE CHEVISTCAD ADD NumOrd Integer not null default 0 
go