Page 1 of 1

TMyQuery - How to process if more the one table has to updated

Posted: Tue 04 Dec 2007 07:50
by Thomas J.
Hello support,
I use the TMyQuery component for selecting data from more then one table. I join 3 views and show these data in a grid. No the user changes data which has to be modified in more the one table. How can achieve an update for more the one table?
Can I enter more the one statement in SQLUpdate?

Thanks Thomas

Posted: Wed 05 Dec 2007 08:16
by Antaeus
Yes, you can use more than one statement, but only on MySQL servers supporting multistatement queries.
Another way is to use stored procedure calls in update SQL properties.