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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Business Edition in SQL Azure?

100


What stored by the master?

956


What the difference between UNION and UNIONALL?

1045


Do you know query execution plan?

1184


What are the differences between decimal and float in ms sql server?

1254


What are the advantages of mirroring?

995


Which are the important points to note when multilanguage data is stored in a table?

1004


What type of Index will get created after executing the above statement?

1103


Explain relational data?

929


What will be query used to get the list of triggers in a database?

1005


How many non clustered indexes there can be on table ?

920


How to use union to merge outputs from two queries together in ms sql server?

1077


What is the recommended total size of your memory optimized tables?

968


How many types of dimensions are there and what are they? : sql server analysis services, ssas

1074


What is the impact on other user sessions when creating indexes?

927