haliliceylan
Joined 3 years ago
Karma
2
Submissions
6
Member since
Jan 20
Joined 3 years ago
IMHO you should never write code like that, you can either do UPDATE employees SET salary = salary + 500 WHERE employee_id = 101;
Or if its more complex just use STORED PROCEDURE, there is no point of using database if you gonna do all transactional things in js