page
Home
About Us
Contact Us
Friday, April 11, 2008
display custum text using case in sqlserver
SELECT FirstName, LastName,
CASE WHEN sex ='M' THEN 'MALE'
WHEN sex = 'F' THEN 'FEMALE'
ELSE 'Undefined'
END As Sex
FROM Employees
Facebook
Twitter
Google+
Pinterest
StumbleUpon
Dig
LinkedIn
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
AJAX, asp, Asp.net, asp.net and sql server security, Asp.net IntemIndex, C#, Css, DataBinder.Eval, DataKeyNames, Datalist, Datapager, DataSet, DataTable, DropDownList, FindControl, gridview, JavaScript, jquery, Listview, Paging, Regex, RegularExpression, Repeater, Server side validation, Sql Server, timer, timercallback, Validation, XML, xmlnode, XPath
No comments :
Post a Comment