using the COALESCE function im creating a string to have a list of users sperated by a comma, now how can i use it in a sql select query ?
meaning :
I want to do a select query like that :
select * from tb1 where UserId in @UserList
where the UserList is the list i got with the COALESCE function.
meaning :
I want to do a select query like that :
select * from tb1 where UserId in @UserList
where the UserList is the list i got with the COALESCE function.