I'm trying to edit some values for something added by DLC but I don't want to make it crash the game if someone doesn't have that DLC. I know about using SELECT/FROM/WHERE for INSERT INTO statements but I'm not sure what to use for UPDATE. I *think* it's the following:
Is that the correct use?
Code:
UPDATE table
SET column = 'value'
WHERE condition = 'value'
AND EXISTS (SELECT * FROM DLCtable WHERE DLCcondition = 'DLCvalue');
Is that the correct use?