This one-day class introduces the concepts of Test Driven Development in SQL Server.
[more…]
SQL Server Performance Monitoring Basics Will my SQL Server keep up with the load of tomorrow? This class will give you tools that enable you to see performance trends and identify problems before they become problems. On the way to [more…]
Execution plans contain a lot of information that can guide you in your performance tuning process. Since SQL 2005 it is possible to retrieve the execution plans stored in the cache using DMVs and DMFs. However, as they are stored in XML format it can be cumbersome and difficult to extract the information you need.
In this session, you will learn how the XML query plan is structured and how to use SQL Server’s built-in XQuery language to extract information. Examples include indexes that the optimizer indicates would increase performance if implemented and queries that use table scans or nested loop joins. [more…]
Every once in a while it is helpful to know the time that has passed since a SQL Server instance was last restarted. This information is particularly helpful when dealing with accumulating dynamic management views like sys.dm_db_index_usage_stats. If you do [more…]
ReviewIn the previous two posts, we discussed some ways to look at code and pick out the test cases. These included finding the boundary test cases, input and output classes and special value testing. This time we’re going to take [more…]
Last time, in Identifying Test Cases #1, we looked at some simple examples of identifying test cases for SQL statements. This time, we’re going to look at a more complex example in the form of a database view. Our ExampleSuppose [more…]
It takes a lot of practice to write test cases for SQL code, and much of that practice happens on the job. One of the most important aspects in writing test cases is simply identifying what test cases to write. [more…]
If you are writing your own blog, you might be interested in this information: Technorati.com is one of the most famous blog directories out there. To increase visibility of your blog, it is a good idea to claim it with [more…]
With this post I am going to start a series about queries that I find helpful while researching indexes and index issues. In fact, because I use them often, I encapsulated them in views. The first one is SATools.IndexPhysical: CREATE [more…]
We’ve seen FakeTable in tSQLt in action in a few demos now. Did you know that you can use FakeTable to fake a view? You use FakeTable on a table when you want to test a procedure (or function or [more…]