Joel W Winston
Member
Would like to know which of the following is better in terms of performance?
FOR FIRST cus where cus.cus-code = 123 exclusive-lock:
cus.credit = 0.
END.
or
FIND FIRST cus where cus.cus-code = 123 exclusive-lock no-error.
if available cus then
cus.credit = 0.
Thanks
Joel
FOR FIRST cus where cus.cus-code = 123 exclusive-lock:
cus.credit = 0.
END.
or
FIND FIRST cus where cus.cus-code = 123 exclusive-lock no-error.
if available cus then
cus.credit = 0.
Thanks
Joel