Search this site

SQL

Sometimes the useful database fix is a small one. Explore SQL Compact, compiled LINQ queries, and a SQL script for adding country and US state data.

7 September 2010

A Simple Guide to SQL Compact 4

My early SQL Compact 4 walkthrough creates a file-based database and uses Entity Framework to add and retrieve records without a separate database server.

22 June 2010

Compiling LINQ queries for improved performance

I've been using Linq to Sql for quite a while now, and here and there I have heard of compiling your Linq queries mentioned. Now I know that this feature has been around for a while in terms of .net, but I have never actually got round to using

13 April 2010

Useful SQL Script to generate Countries & US States

I'm currently working on a project where I need to quickly insert a list of Countries and Us States into a database table. This is not the first time that I've needed to have a useful script handy for this sort of thing. I had a quick look