Dette er muligt :-
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:[email protected]+1) // to increment
For at indstille et heltal (ikke stigning)
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:=100) // to assign any integer
Dette er muligt :-
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:[email protected]+1) // to increment
For at indstille et heltal (ikke stigning)
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:=100) // to assign any integer