- What are the different types of joins and what dies each do?
- What are the four main query statements?
- What is a sub-query? When would you use one?
- What is a NOLOCK?
- What are three SQL keywords used to change or set someone’s permissions?
- What is the difference between HAVING clause and the WHERE clause?
- What is referential integrity? What are the advantages of it?
- What is database normalization?
- Which command using Query Analyzer will give you the version of SQL server and operating system?
- Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table?
- What is the purpose of using COLLATE in a query?
- What is a trigger?
- What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query that ran yesterday took 30 seconds, but today it takes 6 minutes”
- What is an execution plan? When would you use it? How would you view the execution plan?
- What is the STUFF function and how does it differ from the REPLACE function?
- What does it mean to have quoted_identifier on? What are the implications of having it off?
- What are the different types of replication? How are they used?
- What is the difference between a local and a global variable?
- What is the difference between a Local temporary table and a Global temporary table? How is each one used?
- What are cursors? Name four types of cursors and when each one would be applied?
- What is the purpose of UPDATE STATISTICS?
- How do you use DBCC statements to monitor various aspects of a SQL server installation?
- How do you load large data to the SQL server database?
- How do you check the performance of a query and how do you optimize it?
- How do SQL server 2000 and XML linked? Can XML be used to access data?
- What is SQL server agent?
- What is referential integrity and how is it achieved?
- What is indexing?
- What is normalization and what are the different forms of normalizations?
- Difference between server.transfer and server.execute method?
- What id de-normalization and when do you do it?
- What is better - 2nd Normal form or 3rd normal form? Why?
- Can we rewrite subqueries into simple select statements or with joins? Example?
- What is a function? Give some example?
- What is a stored procedure?
- Difference between Function and Procedure-in general?
- Difference between Function and Stored Procedure?
- Can a stored procedure call another stored procedure. If yes what level and can it be controlled?
- Can a stored procedure call itself(recursive). If yes what level and can it be controlled.?
- How do you find the number of rows in a table?
- Difference between Cluster and Non-cluster index?
- What is a table called, if it does not have neither Cluster nor Non-cluster Index?
- Explain DBMS, RDBMS?
- Explain basic SQL queries with SELECT from where Order By, Group By-Having?
- Explain the basic concepts of SQL server architecture?
- Explain couple pf features of SQL server
- Scalability, Availability, Integration with internet, etc.)?
- Explain fundamentals of Data ware housing & OLAP?
- Explain the new features of SQL server 2000?
- How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
- What is data integrity? Explain constraints?
- Explain some DBCC commands?
- Explain sp_configure commands, set commands?
- Explain what are db_options used for?
- What is the basic functions for master, msdb, tempdb databases?
- What is a job?
- What are tasks?
- What are primary keys and foreign keys?
- How would you Update the rows which are divisible by 10, given a set of numbers in column?
- If a stored procedure is taking a table data type, how it looks?
- How m-m relationships are implemented?
- How do you know which index a table is using?
- How will oyu test the stored procedure taking two parameters namely first name and last name returning full name?
- How do you find the error, how can you know the number of rows effected by last SQL statement?
- How can you get @@error and @@rowcount at the same time?
- What are sub-queries? Give example? In which case sub-queries are not feasible?
- What are the type of joins? When do we use Outer and Self joins?
- Which virtual table does a trigger use?
- How do you measure the performance of a stored procedure?
- Questions regarding Raiseerror?
- Questions on identity?
- If there is failure during updation of certain rows, what will be the state?
The Msbiinfo provides maximum information about ssis,ssrs,sql server technologies and provides interview questions and videos and real time scenarios.
Friday, November 25, 2011
SQL SERVER Interview Questions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment