ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
how to write the query to select the rows are in the order 
of either 1,3,5,7... or 2,4,6,8,...
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to write the query to select the rows are in the order of either 1,3,5,7... or 2,4,6,8,...
Answer
# 1
select * from dbo.outs_OpenItems where OIR_ID % 2=1
 
Is This Answer Correct ?    7 Yes 5 No
Senthil
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
I have a huge amount of data which is displayed in a report. The data is viewed every day. Every day the data is displayed in 30 secs but suddenly today it is giving an timeout message today. Data has not been changed. The situation is same as yesterday. What might be the reason??? Please Answer. Satyam3
What is a Join in SQL Server?  1
Explain some DBCC commands?  3
How to Get the last identity value used  3
Display a roll having miminum marks in two subjects? Patni4
What is the difference between OLEDB and ODBC CFCI2
How do I list the available tables in a database I'm querying?  3
Is it possible to have more then one foreign key in a single table? if possible, is this the good way to design the table?  2
How can you get @@error and @@rowcount at the same time?  4
wat is the main diff between sql server 2000and sql server 2005 Jade-Software4
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?  6
What are user defined datatypes and when you should go for them?  1
How to count the number of duplicate items in a table?  1
What are primary keys and foreign keys?  3
What are the types of backup and tell me the difference between full and differential backup? TCS3
What are cursors? Name four types of cursors and when each one would be applied? Adea-Solutions1
What is a table called, if it does not have neither Cluster nor Non-cluster Index?  1
How To delete duplicate record from a particular table? eXensys8
Explain Active/Active and Active/Passive cluster configurations  1
What are the four main query statements?  2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com