UPDATE
  taAppointmentSubType
SET
  AttendanceTypeID = @nAttendanceTypeID,
  SubAppointmentType = @aSubAppointmentType,
  OnLine = @nOnLine
WHERE
  (SubTypeID = @nSubTypeID)
