Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query Not Working
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01406608
Message ID:
01406638
Views:
32
>Kevin,
>
>Try using the COALESCE(...) function instead because it can accept more than two parameters.
>
>
>COALESCE(r.Status,'') = COALESCE(@Status,r.Status,'')
>
>
>Hope this helps.
>Kurt
>

Kurt,

Using COALESCE(r.Status,' ') will make this query non-surgable.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform