DECLARE @Id AS BIGINT
Select @Id = Id From sysobjects Where Name = 'JetPrint'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'RetQty')
  Alter Table JetPrint Add RetQty Int DEFAULT(0) 