]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Added a note about mssql compatibility levels.
authorMichael Trier <mtrier@gmail.com>
Sat, 3 Jan 2009 17:42:31 +0000 (17:42 +0000)
committerMichael Trier <mtrier@gmail.com>
Sat, 3 Jan 2009 17:42:31 +0000 (17:42 +0000)
lib/sqlalchemy/databases/mssql.py

index 9467c10882d82a427ae3291c5e1ad7868ebdb614..0904d7b90a8cd3a7d9e319e6d3cfacf06cdc6f24 100644 (file)
@@ -200,6 +200,17 @@ render::
 If ``nullable`` is ``True`` or ``False`` then the column will be
 ``NULL` or ``NOT NULL`` respectively.
 
+Compatibility Levels
+--------------------
+MSSQL supports the notion of setting compatibility levels at the
+database level. This allows, for instance, to run a database that
+is compatibile with SQL2000 while running on a SQL2005 database
+server. ``server_version_info`` will always retrun the database
+server version information (in this case SQL2005) and not the
+compatibiility level information. Because of this, if running under
+a backwards compatibility mode SQAlchemy may attempt to use T-SQL
+statements that are unable to be parsed by the database server.
+
 Known Issues
 ------------