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