MSSQL 2005 database has collation \"German_Phonebook_BIN\" (but that\'s not important). Connection to db is done via PDO and FreeTDS (using PHP under Debian Squeeze). When I try
I find the best way to use PHP_PDO_DBLIB with SQL SRV is to store dates as datetime2(6) in the MS SQL SERVER DB. It seems to solve a lot of problems when using the symfony framework anyway.