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 do you understand by integration services in sql server?

0 Answers  


What is oltp (online transaction processing)?

0 Answers  


What are a scheduled jobs or what is a scheduled tasks?

0 Answers  


How to grant a permission in ms sql server using "grant execute" statements?

0 Answers  


What is the server name for sql management studio?

0 Answers  


hw you create table in sql using existing table and variable should be in specific order given ex : in old table empid empname empsal empage empbirthdate empaddrs like is there in new table we need it as EX: exmpname empage empaddrs empid empbirthdate like we want hw we create this as a table not view or nt reporting

2 Answers  


Explain few examples of stored procedure over triggers?

0 Answers   ADITI,


how to change column into row in sql

4 Answers   ESS,


To which devices can a backup be created and where should these devices be located? : sql server management studio

0 Answers  


What are the difference between “where” and “having” clause in sql server?

0 Answers  


Explain datetimeoffset data type in sal server 2008?

0 Answers  


What is 2nf in normalization?

0 Answers  


Categories