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

What is the language structure to add a record to a table?

963


What is the default server name for sql server?

1088


Write a sql query to display the current date?

1027


What is a trace frag?

1035


Explain logical operators in sql server?

1031


What are the advantages of mirroring?

937


How do you set a trace flag in sql server?

995


last function used in MS Access to convert sql what function will use in sql

2016


How can I add Reporting Services reports to my application?

125


Write a sql query to delete duplicate records from a table called table1

972


What do you mean by sql server 2005 express management tools?

1250


What is 3nf normalization form?

1023


What is merge replication?

1065


What is sleeping status in sql server?

981


What is db stored procedure?

814