Detta är möjligt :-
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:example@sqldat.com+1) // to increment
För att ställa in ett heltal (inte inkrement)
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:=100) // to assign any integer
Detta är möjligt :-
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:example@sqldat.com+1) // to increment
För att ställa in ett heltal (inte inkrement)
UPDATE myTable SET col1 = 5,
col2 = (@tempVariable:=100) // to assign any integer