There is this a stored procedure that joins table to retrieve the required results. It needs to filter it by a @cha_id, and where it is not provided by the user, it will take whatever is in tablea accordingly. How do we handle COALESCE in a dynamic SQL qu
↧