SQL Server Interview Questions

These are the interview questions on SQL Server I have been asked during recent years.

1. What is the difference between Left Outer Join and Right Outer Join?


2. Table A has got 1 million records. Table B is that of same schema as that of Table A. Write a Stored Procedure to insert the records from Table A to Table B in the batches of 10000. Also, the procedure should be resumable.

3. How to get the third highest salary from Table Employee?

4. How to get data in ordered manner from SQL ? Is the data stored in ordered fashion by default?

5. What is the difference between Count(1) and Count(id) in SQL Server? Do they return the same results always?

6. What is the difference between Temporary table and Table Variable ? If I have a million rows to store to, what will be a better option ?

7. What is the difference between Global and Local Temporary Table?
















SSIS Interview Questions

1. Difference between Full Load and incremental load in SSIS?

2.





Comments

Popular posts from this blog

Query Execution Plan - Basics