SELECT top 1 @@type = fusertype FROM $tar.t_SEC_User@basedata WHERE fphone = @@tar.phone;
if(type == '1' ){
  tar.#_IGNORE_TAG = true
}

Reference: