MySQL Forums
Forum List  »  General

Re: On update doesn't work
Posted by: Jose Maria Cañas
Date: September 08, 2021 03:18AM

Sorry I`ve delete the data in insert and wrote fake data (and I left a column that doesn't exist in my database).

At your explain, with you wrote "update grupos set prueba=2 where prueba=3;" you change the data in "prueba" column but I don't want this. I want that if I change the id number (PK) of a register, this number change also in the registers that referred this number in their own "prueba" column.

Options: ReplyQuote


Subject
Written By
Posted
September 07, 2021 01:23PM
September 07, 2021 02:49PM
Re: On update doesn't work
September 08, 2021 03:18AM
September 08, 2021 03:29AM
September 08, 2021 08:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.