Update DDC719Test.php to be compatible with MsSQL

Apparently Doctrine adds "with (nolock)" now for the mssql platform, but the test has not been updated yet.
A nicer way of detecting the platform

Inspired by https://github.com/doctrine/doctrine2/blob/master/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php#L188
Used ternary operator to reduce LOC
Merge pull request #787 from flip111/patch-1

Update DDC719Test.php to be compatible with MsSQL