Basit's SQL Server Tips
Archives: September 2012
Transact-SQL analytic functions in SQL Server can help solve problems quickly
Like other mainstream commercial database systems, SQL Server supports analytic functions in Transact-SQL to depict complex analytical tasks. With the help of these analytic functions, we can perform common analyses, such as ranking, percentiles, moving averages and cumulative sums that can be expressed concisely in a single SQL statement.
The… Read more
0 comments, 376 reads
Posted in Basit's SQL Server Tips on 21 September 2012
Database Recovery Advisor feature of SQL Server 2012
SQL Server 2012 introduces Database Recovery Advisor that provides significant user experience improvements to the ways DBAs can restore databases with SQL Server Management Studio. As we know, SQL Server provides a variety of backup types, so creating the proper recovery sequence for each point in time can be tricky… Read more
8 comments, 781 reads
Posted in Basit's SQL Server Tips on 19 September 2012
Logon Triggers: SQL Server
As the name implies, logon triggers fire in response to the logon event that is raised when a user sessions is being established. The logon triggers can be used to audit and control server sessions, such as tracking the login activity, restricting logins to SQL Server, or limiting or denying… Read more
0 comments, 1,747 reads
Posted in Basit's SQL Server Tips on 17 September 2012
Detecting and Removing Duplicate Indexes
Indexes are the solution to many performance problems, but with too many indexes on tables can hurt the performance of your database. This is because SQL Server performs extra work in order keep these indexes up-to-date during insert/update/delete operations against tables where these indexes exist. This means that the SQL… Read more
0 comments, 812 reads
Posted in Basit's SQL Server Tips on 14 September 2012
Introduction to Windows Azure SQL Database Services (Part 2)
In my last article “Introduction to Windows Azure SQL Database Services (Part 1)“, I’ve provided an overview of Microsoft Windows Azure SQL database, which is a cloud-based relational database platform that is built on SQL Server technologies. We also learned about the steps on how to provision and… Read more
0 comments, 403 reads
Posted in Basit's SQL Server Tips on 6 September 2012
Capture SQL Server Deadlocks using Extended Events
Microsoft SQL Server provides a variety of different options to monitor deadlocks. This includes Trace flags 1204 and 1222, SQL Profiler trace events, Extended Events and Event Notifications. Of these options Extended Events are the most efficient, lowest impact method for capturing deadlock information. Extended Events infrastructure is built directly… Read more
0 comments, 563 reads
Posted in Basit's SQL Server Tips on 3 September 2012



Subscribe to this blog