Showing posts with label sql month. Show all posts
Showing posts with label sql month. Show all posts

Wednesday, June 5, 2013

Get month name function in SQL server

This one is very quick and short method to get the month name in your desired formate while writing sql query.

SUBSTRING('JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC ', (@YourMonthName * 4) - 3, 3)
 
 
 

Rest Service using WEB API C#

This post will show a simple example of REST service built on Micrsoft WEB API framework. WEB API is an extensible framework from microsof...