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