Obtaining the surrogate key for Type II SCD