Declare @Id Int                               
Select @Id = Id From sysobjects Where Name = 'Group1'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id  and Name = 'Parent')
Alter Table Group1 Add Parent int Default(0)
