which query u can write to sql server doesn't work
inbetween 7.00PM to nextday 9.00AM

Answer Posted / sandeep rana

select * from table where columndata not in(select
columndata from table where date between '' and '')

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me when is the update_statistics command used?

699


What is nolock hint in sql server 2008

826


You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?

765


What is the difference between ‘having’ clause and a ‘where’ clause?

768


What is attribute? : sql server analysis services, ssas

764






Explain about Normalization?

779


What is self join in sql server joins?

737


Explain the dbcc pintable command when would you use it?

685


What are a scheduled jobs?

699


How do you test your database? : sql server database administration

715


State the difference between local and global temporary tables?

793


What is a hint?

738


What keyword you will use to get schema appended to the result set of a ‘for xml’ query?

781


What are the types of database schema? : sql server analysis services, ssas

783


How to retrieve error messages using mssql_get_last_message()?

726