Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 ASP.Net Interview Questions and Answers
What are the steps you will take to improve performance of a poor performing query in SQL Server?
This is a very open ended question and there could be a lot of reasons behind the poor performance of a query. But some general issues that you could talk about would be: No indexes, table scans, missing or out of date statistics, blocking, excess recompilations of stored procedures, procedures and triggers without SET NOCOUNT ON, poorly written query with unnecessarily complicated joins, too much normalization, excess usage of cursors and temporary tables.

Some of the tools/ways that help you troubleshooting performance problems are: SET SHOWPLAN_ALL ON, SET STATISTICS IO ON, SQL Server Profiler, Windows NT /2000 Performance monitor, Graphical execution plan in Query Analyzer.

How do I create primary keys in SQL Server?
What is the difference between TRUNCATE and DELETE commands ?
What is a deadlock and what is a live lock? How will you go about resolving deadlocks?
Describe Microsoft SQL Server 2000 ?
Is it possible to create only structure of the table without copying data in SQL Server?
What keyword does an SQL SELECT statement use for a string search?
What is the maximum number of columns in a row in SQL Server?
What is the primary key in SQL Server?
Which function is used in SQL Server to find the largest integer less than or equal to a specific value?
What are stored-procedures? And what are the advantages of using them.