Hi GRC,
You mean that you want to check if the duplicated data when update the table AffiliateMember?
The table has primary key (AFFILIATEMEMBER ,AFFILIATECLUBNO), so you can check it by a query with 2 above fields, such as:
(select 1 from AffiliateMember where upper(AFFILIATEMEMBER) ='VIP' and AFFILIATECLUBNO = '1')