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

What is difference between delete & truncate commands?

0 Answers  


what purpose does OPENXML clause have in sql server stored procedure?

1 Answers  


What is the primary use of the model database?

0 Answers  


query processing

0 Answers  


What are the main control-of-flow T-SQL constructs?

1 Answers  


What is the difference between functions and scalar functions?

0 Answers   EXL,


What is the difference between functions and stored procedures?

0 Answers   Accenture,


explain how to create a new schema in a database? : Sql server database administration

0 Answers  


Explain the difference between delete,drop and truncate in SQL Server?

0 Answers   HCL,


How do you Implement SSIS Packages in your Project?

0 Answers  


What is the architecture of ms sql reporting service?

0 Answers  


Find 2nd Highest salery in emp table Select* from emp where &n= select * count from emp where (salery >=emp.salery) Enter n value 2 These query is correct or not. Tell me any other methods.

6 Answers  


Categories