This is unnecessary. sql_in_set() does that for you.