sql 'UPDATE' statement question
Hey all.
I working with a sql database. I have to Tables that contain data on a customer. I am using a left outer join query to retrieve and view a complete data set on the customer. My question is when Iam modifying customer details in some instances i need to update information in both tables. Is there a syntax for doing this at the same time eg
UPDATE MYTABLE LEFT OUTER JOIN MYOTHERTABLE SET BLAH, BLAH WHERE BLAHBLAH = 'BLEH'
would a statement like that work?
I have tried it and get errors I cant seem to find any documentation on doing joined table updates
any help would be appreciated thanks