I have a question. Maybe it's a dumb one but I'm just not sure if it's possible without causing trouble...
Is is possible to use multiple statements for the SQLUpdate property in TMyQuery ?
Somethin like this:
MyQuery.SQLUpdate.Clear;
MyQuery.SQLUpdate.Add('UPDATE terminals SET terminal_machineid = :terminal_machineid, terminal_requiresnewregistration = 0 WHERE terminal_id = :OLD_terminal_id;');
MyQuery.SQLUpdate.Add('UPDATE terminals SET terminal_requiresnewregistration = 1 WHERE (terminal_machineid = :terminal_machineid) AND (terminal_id :OLD_terminal_id);');
It seems to work flawlessly on a MySQL server 5.0.41. I'm just not sure if there are any side effects which I should be aware of...
Thx in advance
Bernd