| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between the following two sql
statements
select count(*) from <tablename>
select count(col_name) from <tablename> | 247Customer | 2 |
| Which stored procedure will you be running to add a linked
server? | | 1 |
| Is trigger fired implicitely? | | 2 |
| 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. | Microsoft | 2 |
| Alternative way to DetDate() function? | | 4 |
| How to find the second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database
plz mail the answer @ mak2786@gmail.com
| Oracle | 18 |
| Say if we have a table that contains only a single column ,
say OrderID, which has IDENTITY attribute defined on it. So
how can we insert data in this table.
I am reframing my question, that how can we make the table
to increment the column "OrderID" value several times??? | | 3 |
| HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE | TCS | 16 |
| What is Transaction? | | 2 |
| How to create logins using windows Authentication mode? | | 2 |
| What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table | HP | 15 |
| could u plz explain about joins and views? | | 2 |
| employee table has employee id
-----------
empid
----------------
1
2
3
3
3
4
5
5
5
6
6
6
7
here the values r repeated two times.how to select the
repeated values only.i.e 3,5,6 should alone come. | | 2 |
| can any one answer this query,thank you in advance
Table 1 has 2 columns: EmployeeId, T shirtsize(values can
be 1,2,3)
Table 2 has 2 columns: EmployeeId, Region
Write SQL to Find the region which has the largest number
of people with Tshirt size=3
| Google | 10 |
| what is the Enterprise manager(2000) and management studio
(2005)? | | 2 |
| How the data stores in a page? | | 1 |
| Questions regarding Raiseerror? | | 1 |
| what is physical sort data and logical sort data in index? | | 2 |
| write coding for importing sql data into a word excel...
| Oracle | 1 |
| Explain the storage models of OLAP? | | 1 |
| |
| For more SQL Server Interview Questions Click Here |