SQL Server Interview Questions
Questions Answers Views Company eMail

What are the steps you can take to avoid “deadlocks”?

523

Explain user defined views?

577

What is catalog views?

608

What is table-valued sub query?

568

What is the difference between a function and a stored procedure?

567

What is the difference between update lock and exclusive lock?

497

Does the order of columns in update statements matter?

482

What is use of @@ spid in sql server?

682

How to delete duplicate rows from table except one?

545

Can we insert data if clustered index is disabled?

510

Explain system rowset functions?

558

How can we solve concurrency problems?

570

How can I check that whether automatic statistic update is enabled or not?

557

If any stored procedure is encrypted, then can we see its definition in activity monitor?

549

What are wait types?

588


Un-Answered Questions { SQL Server }

as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

538


How can windows applications connect to sql servers via odbc?

585


Describe the functionalities that views support.

662


In which sql server version report builder introduced?

105


What is a primary index?

529






What is the difference between createstatement and preparedstatement?

494


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1469


What are page splits? : SQL Server Architecture

544


What are indexes in sql?

580


What is schemabinding a view?

532


How to test subquery results with the exists operator?

564


You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?

548


What are rows and columns?

524


What are system databases in ms sql server?

539


What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration

591