I would like to Select & Update the same record in access in same query from c# application. Something like-
int personId=command.ExecuteScalar(
"Select Top 1 PersonId From Persons where IsLocked=false
AND UPDATE THE SELECTED ROW WITH IsLocked=true");
I must require the PersonId value which is being selected & updated in my code.
I saw some questions in SO, but those are not what I actually want.
Any help?