I have two databases I am trying to replace a fields in one. I know it might look crude, just after functionality. My question is why does the statement on the very last line only replace one record that matches when the usaworking has multiple records that match the customer field?
SET SAFETY OFF
CLOSE ALL
CLEAR
SELECT 1
USE alld
INDEX ON ALLTRIM(customer) TO auto
SELECT 2
USE usworking
INDEX ON ALLTRIM(customer) TO working
SELECT 1
SET RELATION TO alltrim(customer) INTO 2
replace all b.mailer_typ with 'Dimensonial' for a.customer = b.customer <---- should replace all that match?
SET SAFETY OFF
CLOSE ALL
CLEAR
SELECT 1
USE alld
INDEX ON ALLTRIM(customer) TO auto
SELECT 2
USE usworking
INDEX ON ALLTRIM(customer) TO working
SELECT 1
SET RELATION TO alltrim(customer) INTO 2
replace all b.mailer_typ with 'Dimensonial' for a.customer = b.customer <---- should replace all that match?