select ID, Name, Month from (
select ID, Name, Month,
case Month
when 'January' then 1
when 'February' then 2
when 'March' then 3
when 'April' then 4
when 'May' then 5
when 'June' then 6
when 'July' then 7
when 'August' then 8
when 'September' then 9
when 'October' then 10
when 'November' then 11
when 'December' then 12
end as MonthNo
from
Emp
) as TempTable
where
MonthNo between 1 and 12 order by [Month]
Showing posts with label Select Record between Months in SQL. Show all posts
Showing posts with label Select Record between Months in SQL. Show all posts
Saturday, December 4, 2010
Subscribe to:
Posts (Atom)
Mat Table Angular
Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...
-
SortingCollection sc = new SortingCollection(); sc.Add (new SortProperty("field on which you want to sort",DevExpress.Xpo.DB.Sorti...
-
Angular is a JavaScript open-source front-end web application framework. Learn and Start Angular 6 https://youtu.be/iCczsazLY-E ...
-
Build Angular App for Production while you plan for production release then keep these things in Mind ng build --prod --base--hre...