2
Let’s imagine a scenario where I need to give a update
in 10 different tables in the same column in all of them updating a certain data, the syntax below will work?
UPDATE tab1, tab2, tab3... SET id_usuario = 'novo id' WHERE id_usuario = 'id antigo'
All tables have the same column id_usuario
, is a question merely of curiosity.
If this information cannot be "guessed", it is not suitable. Anyway, it does it in 10 tables. It even has how to create a script to try to "automate" this, but it will take more work to do on hand with C V. Actually if you don’t have a clear pattern of change, you won’t even get any results.
– Maniero
Before I used random sequences of 9 numbers to create the user ID, but then I read a little about UUID and it seemed safer to use a more complex ID and more difficult to be guessed mentally, so I want to update
– Leo Letto