sql

linq

Compiled or Bust?

While I may have mixed emotions toward LINQ to SQL, we've had great success with it on Stack Overflow. That's why I was surprised to read the following: If you are building an ASP.NET web application that's going to get thousands of hits

By Jeff Atwood ·
Comments

sql

A Visual Explanation of SQL Joins

I thought Ligaya Turmelle's post on SQL joins [http://www.khankennels.com/blog/index.php/archives/2007/04/20/getting-joins] was a great primer for novice developers. Since SQL joins appear to be set-based, the use of Venn diagrams [http://en.wikipedia.org/wiki/Venn_diagram] to explain

By Jeff Atwood ·
Comments

sql

Microsoft LogParser

Ask yourself this question: what if everything could be queried with SQL? Microsoft's LogParser [http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en] does just that. It lets you slice and dice a variety of log file types using a common SQL-like syntax. It'

By Jeff Atwood ·
Comments

database

Stored Procedures vs. Ad-Hoc SQL

In a recent article, Doug Reilly makes a fairly well reasoned case for the use of stored procedures in lieu of ad-hoc SQL: So, should you use SPs or ad-hoc SQL? The answer is "it depends." I have placed myself firmly on the side of doing all database

By Jeff Atwood ·
Comments