SQL Interview Questions and Answers

What is normalization? What are different types of normalization?
What is denormalization?
What is a candidate key?
What are the different types of joins? What is the difference between them?
What are indexes? What is the difference between clustered and nonclustered indexes?
How can you increase SQL performance?
What is the use of OLAP?
What is a measure in OLAP?
What are dimensions in OLAP?
What are levels in dimensions?
What are fact tables and dimension tables in OLAP?
What is DTS?
What is fill factor ?
What is RAID and how does it work?
What is the difference between DELETE TABLE and TRUNCATE TABLE commands?
If locking is not implemented, what issues can occur?
What are different transaction levels in SQL SERVER?
What are the different locks in SQL SERVER?
Can we suggest locking hints to SQL SERVER?
What is LOCK escalation?
What are the different ways of moving data between databases in SQL Server?
What are advantages of SQL 2000 over SQl 7.0?
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
What is the difference between UNION and UNION ALL SQL syntax?
How can you raise custom errors from stored procedure?
what is ACID fundamental? What are transactions in SQL SERVER?
What is DBCC?
What is the purpose of Replication?
What are the different types of replication supported by SQL SERVER?
What is BCP utility in SQL SERVER?
What are the different types of triggers in SQl SERVER?
If we have multiple AFTER Triggers on table how can we define the sequence of the triggers?
What is SQL injection?
What is the difference between Stored Procedure (SP) and User Defined Function (UDF)?