cakephp/cakephp — pull request #3306 by lorenzo (2014-04-12 21:53:44+00:00)
Title: 3.0 sql server

This adds support for SQL Server. A somewhat major refactor was introduced in this changeset, now Queries are compiled to SQL using an external `QueryCompiler` object. This was needed because SQL Server is a :trollface: database in its syntax.

Some stuff has not been implemented:

* DateDiff function in SQL Server has the paramenters in the inverse order, this give negative values when evaluating. I will let the users live with this
* DISTINCT ON was really difficult to implement, leaving for another day
* There are some problems with datetime/timestamp problem