Interview questions

SQL Server interview questions – page 2

277 questions. Tap “Show answer” to check yourself.

  1. What is the difference between Varchar and Varchar2?

  2. How do you optimize stored procedures ?

  3. How to remove duplicate records from a table?

  4. What is the difference between the full, simple and bulk log recovery models?

  5. What is different between int and bint?

  6. Can we generate a trigger for two tables? if so what is the query to generate a trigger for two tables employye table and department table with employee having department no.

  7. How functional dependency is related to database table design?

  8. What is SQL*Loader? Difference between

  9. What is a dirty page and dirty report?

  10. What is merging?

  11. What is the pivot operator in MS SQL Server2005? What is the use of it and how do we use it

  12. How many types of system privileges are there, Can we add or delete privileges?

  13. What are DTS subroutines? What is their use and How do you write them?

  14. What is the Disadvantage of StoredProcedure?

  15. Explain open SQL vs native SQL?

  16. When do you get constraint violation? What are the types of constraints?

  17. Difference between "ORACLE" and "MICROSOFT ACCESS" databases.

  18. I was asked in an interview..."Suppose u have a field with UNIQUE KEY. can u leave two or more cells NULL in SQL Server 2005...If Yes then Why...if NOT then Why...

  19. What is the use of Analyzing the tables?

  20. Give some examples of Analytical functions.

  21. How to create a database link?

  22. Difference - Primary Key and Aggregate Key

  23. Which of the following modules within SQL Server 2005 cannot be signed with a digital signature?

  24. What are data objects?

  25. Where does Profiler store its temporary data in SQL Server 2005?

  26. What is Extended Stored Procedure in SQL Server 2000?

  27. What does this return? select (1324 & 1024)

  28. What is the difference between Inner join and full outer join in terms of the Number of rows return

  29. How to get the list of tables in Sybase?

  30. What is the difference between Inner join and full outer join in terms of the Number of rows returned?

Companies that ask SQL Server questions