I need to change an the id of 1 table. but the id is use on other tables. So how to create a sql query for update every table at the same time?
UPDATE table1,table2,table3
SET id = 2
where id=1
How create an update cascade query?
I need to change an the id of 1 table. but the id is use on other tables. So how to create a sql query for update every table at the same time?
UPDATE table1,table2,table3
SET id = 2
where id=1
How create an update cascade query?