IF NOT EXISTS (SELECT * FROM IdentityFields WITH(NOLOCK) WHERE DBTableName = 'GIFTCERTIFICATEIDENTITY')
  INSERT INTO IdentityFields (DBTableName, HotelCustomerNumber, IdentityField, FKDepartment, Changedate) VALUES ('GIFTCERTIFICATEIDENTITY', -1, 1, -1, GETDATE())