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 / 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 |
Can we linked SharePoint to a SQL database?
0 Answers Sans Pareil IT Services,
how to copy only distinct data into another table which is not already exist in database?
What are the extra roles available in msdb? : sql server security
How to work on DTS?what is the main requirement?
What are character string data types in ms sql server?
Does a sql server 2005 select statement require a from?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
What is difference between temp table and cte?
explain different types of backups avaialabe in sql server? : Sql server database administration
How do I start sql server 2016?
Explain full-text indexing?
What are the types of stored procedures in an sql server?