How to use IF Condition in sql query

Saturday, August 22, 2009

By using below code you can see, how to use if condition in sql query directly.

"if condition" in sql query

CASE WHEN SNY_Role.bAdd='True' THEN 'Yes' ELSE 'No' END AS RoleAdd

Please put your comment below of this web page,
You can also visit
DotNet Climber Our Website

Rajesh Singh
Asp.Net Developer
Indianic Infotech Ltd (India)

No comments :