• Entropie,  Tech

    The curious case of updating a value

    The issue, described below is very strange when you find it, because it works only in MySql. In MySql the update keeps track of the order of the parameters updated. So while for any known DBMS when you update a field computed considering another one (i.e. set A = 10, B = A…) the value of A and B are calculated starting from the original value for each update in MySql as soon as you update a field, this new value will be used instead of the original. Besides this you can use the order clause to specify HOW update the values. This cose works on MySql and on SQL…

    Commenti disabilitati su The curious case of updating a value

Utilizzando il sito, accetti l'utilizzo dei cookie da parte nostra. maggiori informazioni

Questo sito utilizza i cookie per fornire la migliore esperienza di navigazione possibile. Continuando a utilizzare questo sito senza modificare le impostazioni dei cookie o cliccando su "Accetta" permetti il loro utilizzo.

Chiudi