Esto es posible :-
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:[email protected]+1) // to increment
Para establecer un número entero (no incremento)
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:=100) // to assign any integer
Esto es posible :-
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:[email protected]+1) // to increment
Para establecer un número entero (no incremento)
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:=100) // to assign any integer