Quantcast
Viewing latest article 17
Browse Latest Browse All 3145

Handling COALESCE and CONVERT in dynamic SQL

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

Viewing latest article 17
Browse Latest Browse All 3145

Trending Articles