Find number of tables used in stored procedure.

While doing analysis or reviewing database objects often we used to look and think for objects which are being used in any specific stored procedure or stored procedures. Following is the small script which is used to find out all the table used in stored procedures. -- Query to get list of all table used … Continue reading Find number of tables used in stored procedure.

Performance tuning questions in SQL Server.

What are the various tools you used for Sql Server Query optimization/Performance tuning Explain how do you optimize  Server for better performance Explain how do you optimize  Database for better performance ( Explain in details about, what all we can do with TempDB for better performance) Explain how do you optimize  Query for better performance … Continue reading Performance tuning questions in SQL Server.