Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


please bar with my english
i having a database called tblhallreservation in which
res_date is date field
has to select all the fields in table deponding on month
either has to display all details for the month jan or feb
and so on



please bar with my english i having a database called tblhallreservation in which res_date is dat..

Answer / kiran bala rath

select datename(mm,res_date),* from Tablename order by
convert(int,right(left(convert(varchar,res_date,105),5),2))
asc

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How extra digits are handled with numeric data type literals?

0 Answers  


Explain left outer join and right outer join?

0 Answers  


How to remove duplicate rows from table?

0 Answers  


What are information schema views?

0 Answers  


What is sleeping status in sql server?

0 Answers  


What is scan table/view and seek table/view when its occurs? : sql server database administration

0 Answers  


Do you know what is xpath?

0 Answers  


Explain the properties of sub-query in sql server?

0 Answers  


What does the on delete cascade option do?

0 Answers  


What is the bookmark lookup and rid lookup?

0 Answers  


What is the difference between indexing and hashing?

0 Answers  


What is difference between restoration and recovery in SQLServer?

3 Answers   Microsoft,


Categories