i want to do something like this;
for-example;
Set vote = true for all rows in tbl_emp where pk_tbl is in the comma separated value list.
Where, @empl_vote_true = ’12,23,345,’ (IDs of the employees),
Is it possible, if so how?
for-example;
Set vote = true for all rows in tbl_emp where pk_tbl is in the comma separated value list.
Code:
update tbl_emp set vote=true where pk_tbl in @empl_vote_true
Is it possible, if so how?
Comment