Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Handling COALESCE and CONVERT in dynamic SQL

$
0
0
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 all articles
Browse latest Browse all 3145

Trending Articles