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
Thankyou
Rajesh Singh
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment