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 |
What is the command used to recompile the stored procedure at run time?
i need to know how i display department which has salary > =5000 for the below table Department ----------- salary deptname 1000 a 3000 a 2000 b 3000 b 4000 c 5000 c kindly send the query to thilakvinoth13@gmail.com
Give me a SQL Query to find out the second largest company?
Can we insert data into view sql server?
How is table type constraint applied to a table?
What are a scheduled jobs?
How to write character string constants or literals in ms sql server?
What is multi-statement table-value user-defined function?
Tell me what is difference between view and materialized view?
What is difference between views and stored procedures?
Do you know what are various aggregate functions that are available?
List the advantages of using stored procedures?