ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
How do you check the performance of a query and how do you
optimize it?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you check the performance of a query and how do you optimize it?
Answer
# 1
WE CAN EVALUATE THE QUERY PERFORMANCE BY RUNNING THE 
EXECUTION PLAN OF THE QUERY.IF THE QUERY NEEDS ITS 
PERFORMANCE TO BE OPTIMISED THEN WE WILL BE CREATE A VIEW 
FOR THE TABLE USING 'WITH SCHEMA BINDING ' OPTION ,THEN 
SUBSEQUENTLY CREATE A MATERIALISED VIEW USING INDEX 
DEFINITION.FINALLY CHECK FOR THE EXECUTION PLAN (THAT 
PREVENTS THE EXPENSE OF I/O READS).
 
Is This Answer Correct ?    1 Yes 0 No
Guest
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is data integrity? Explain constraints? Thinksoft1
Please give me the SP for the below scenario. I have two tables named Table1 and Table2...I need to fetch record by record from Table1 and insert the record in to table2 where the value in the sno column of the table1 is even number. Value-Labs4
What is the system function to get the current user's user id? HCL1
What is the difference between a local and a global variable?  3
what is the output for this query select * from employee where 1=1;  4
What is a Stored Procedure?  7
What is the difference between Stored Procedure , Function and Package, 1. how many blocks in Package and what are they. IBM5
Can we create clustered index on non primary key column CTS14
What are the different types of backup avaible in SQL SErver Emphasis5
Explain Active/Active and Active/Passive cluster configurations  1
As a part of your job, what are the DBCC commands that you commonly use for database maintenance? HCL1
How do I compare two values when one value(data type) is char and the other is an integer?  3
what is bit data type? and what are the information that can be stored inside a bit column?  2
select the 3rd maximum salary from sql server database if 4 (just an example In practically I may not know the exact situation) of the highest salaries are equal.  7
What is ACID Property of Transaction?  4
How do you load large data to the SQL server database?  2
What is difference beteen Migration and Upgrdation? Satyam4
hi, may i know what is the command to get abstract the current month, current year and current day from a given date.i want these three in a isolated way..seperatedly is that any way in sql server 2000  3
in tabase table having a column in it empname field is there which having 5 duplicate values is there i want deleted all the duplicates i want showing only one name only.  7
What is the STUFF function and how does it differ from the REPLACE function?  2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com