Robin,
Using all 6 of mine I'm afraid, but come on, they're like £25 you pikey!

You'll find a permanent use for it.
Presently:
1 monitoring electricity use in the house using a clamp-type current transformer at the meter (using a custom daemon and rrd tools)
1 grabbing weather data from the USB port on a weather station and storing it for trending/graphing at some point
1 set up as a virtual ADSB radar using a SDR USB dongle (£10 freeview tuner). About 20mile line of sight with the short stick antenna, but I've had a few 300 mile contacts with a tuned length co-linear coaxial antenna.
1 with a GPS receiver connected to GPIO used as a stratum 1 NTP server for the network (work in progress, ms accuracy, but aiming for <20us. totally pointless for NTP I know. )
1 set up as a wireless access point + VPN client which I can carry with me for portable hot-spot. Ideal for hotels with Ethernet in the rooms but poor wifi coverage.
1 monitoring my network monitoring server
I've also at various times dabbled with the usual retro games emulators, most of the media player distros, and had a Pi as my home broadband router/firewall for a while too before I got fiber and needed more throughput.
They're fantastic devices and every kid (of all ages) should have one.
Nizzy,
I think Robin misread MSSQL as MySQL. You don't need to install MySQL to use FreeTDS unless I'm missing something. Echo Robin's request... what's the end goal?
I take it the MS SQL database already exists? If not, use something else. But assuming it does, you want to pull some data out? You'll need to know the server name or IP, what version of SQL server its running, and be on the same network so you can talk to it (sorry if that's a bit obvious) and you'll need authentication details.
Once you've got all that, and FreeTDS installed, you'll need to set up the connection in the freetds.conf (I don't know much about freeTDS but if you get stuck I can read the docs and work it out), then use the connection name you give that the freetds.conf in your PHP like this:
$db_conn = mssql_connect("<yourfreetdsconnectionname>","<user>","<password>") or die("Error: can't connect to db");
I'm guessing from your error message that you've got roughly that far already, so fill in the details or post your configs and we'll go from there.
G