Featured Article: Using xp_ReadErrorLog in SQL Server 2005

I would like to share some interesting parameters I found for the undocumented extended stored procedure xp_ReadErrorLog. In doing some testing with this extended stored procedure I found four very interesting parameters. Adding to some of the articles already on the web that discuss undocumented stored procedures, in this article I will explain my testing, use and some examples of the procedure.

12 May 2008 - Guest Authors - 0 Comments

Recent Articles

ApexSQL Giving Away 25 Copies of Enforce

ApexSQL is launching a new product called Enforce.  As part of their launch they are giving away twenty-five copies to our members for participating in the forums.  Read on for the details and to find out if you've already won.

7 May 2008 - Bill Graziano - 10 Comments

Joining to the Next Sequential Row

One of the more obscure requirements that a developer may find themselves facing is the need to compare a row with its immediate sibling. One such case is when a list of values needs to be processed to produce a moving average or to smooth a sequence of statistical numbers where their order is important.  For example, values lying along a time line. The solution is actually quite simple, but not immediately obvious.

2 April 2008 - Paul Alcon - 20 Comments

Using the TIME data type in SQL Server 2008

SQL Server 2008 introduces a TIME data type which allows us to store the time without the date.

6 March 2008 - Bill Graziano - 2 Comments

Implementing Table Inheritance in SQL Server

When designing a database, we sometimes come across situations where there are multiple types of entities that we are modeling, but we'd like them to all have certain attributes or relations in common. Using "sub-type" tables is a simple way to implement table inheritance in SQL Server.

20 February 2008 - Jeff Smith - 22 Comments

Writing Outer Joins in T-SQL

Occasionally someone will ask for my help with a query and say that both a right outer join and a left outer join was tried, and still the expected results were not achieved. That made me realize that some developers do not completely understand outer joins and that an article explaining how to use them might help.

11 February 2008 - Kathi Kellenberger - 9 Comments

Integrating Profiler and PerfMon Log Files

Troubleshooting SQL Server requires the use of both PerfMon (Performance/System Monitor) and SQL Trace files created by SQL Profiler or directly by SQL Server trace. Analysis of the gathered data is much easier if you can correlate your trace file with the PerfMon counters. In this article I'll show how to create a PerfMon counters log file and SQL Profiler Trace file, how to read them both and how to correlate the two files in SQL Profiler.

6 February 2008 - Mladen Prajdić - 3 Comments

Which is Faster: SAN or Directly-Attached Storage?

Or should I place my database files on SAN or directly-attached storage? This is a frequently asked question. It comes up repeatedly in public newsgroups, email discussion lists, and private meetings with customers who are concerned with database performance.

21 January 2008 - Linchi Shea - 10 Comments

Using Included Columns in SQL Server 2005

One of the new features found in SQL Server 2005 is the ability to add additional columns, called Included Columns, to a non-clustered index. This article will explain the advantages of using included columns and what impact they will have on your database.

14 January 2008 - Kathi Kellenberger - 2 Comments

  

Subscribe to SQLTeam.com

Weekly SQL Server newsletter with articles, forum posts, and blog posts via email:

SQLTeam.com Articles via RSS

SQLTeam.com Weblog via RSS

- Advertisement -

SQL Server Jobs