Hi,
I have over 500 records to update. Tere are 3 fields that will need to be updated, different values in one field per Subject ID. Must I run a separate update query for each record or is there a way to write the query to have them all updated?
Currently I have;
UPDATE patient SET patient.mom = "Y", patient.dad = "Y", patient.IGE = "54" WHERE (((patient.id)="1011"));
Is there a way to have something like:
UPDATE patient SET patient.mom = "Y", patient.dad = "Y", patient.IGE = "54" WHERE (((patient.id)="1011")) AND UPDATE patient SET patient.mom = "Y", patient.dad = "Y", patient.IGE = "32" WHERE (((patient.id)="0718"));
Thanks
AD2
I have over 500 records to update. Tere are 3 fields that will need to be updated, different values in one field per Subject ID. Must I run a separate update query for each record or is there a way to write the query to have them all updated?
Currently I have;
UPDATE patient SET patient.mom = "Y", patient.dad = "Y", patient.IGE = "54" WHERE (((patient.id)="1011"));
Is there a way to have something like:
UPDATE patient SET patient.mom = "Y", patient.dad = "Y", patient.IGE = "54" WHERE (((patient.id)="1011")) AND UPDATE patient SET patient.mom = "Y", patient.dad = "Y", patient.IGE = "32" WHERE (((patient.id)="0718"));
Thanks
AD2