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 extent? Types of extents?
Explain about Normalization?
What is full outer join in sql server joins?
If you are working on a SQL database and if suddenly a developer changes the code and your queries results start giving errors,how will you check using a T-SQL query (on system tables) that what has changed in the database.
how we can use a database with php.
How to provide values to stored procedure parameters in ms sql server?
Explain about SQLOS?
What is t-sql script to take database offline – take database online.
What types of Joins are possible with Sql Server?
What are the basic functions for master, msdb, model, tempdb and resource databases?
What does the on update no action do?
what are three different authentications to connect linked servers?