Item9808: resolving the differences between SQL dialects was a challenge. Only tested on SQLite at the moment. Some test failures in the unit test suite acceptable - there are some things that SQL just can't do.

git-svn-id: http://svn.foswiki.org/trunk/DBIStoreContrib@17261 0b4bb1d4-4e5a-0410-9cc4-b2b747904278