if not exists (select * from dbo.syscolumns where id = object_id(N'[dbo].[表2]') and name = 'age1')
  ALTER TABLE 表2 ADD age1 int
if not exists (select * from dbo.syscolumns where id = object_id(N'[dbo].[表2]') and name = 'age2')
  ALTER TABLE 表2 ADD age2 int