summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mssql/information_schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-10-23 18:09:36 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-10-23 18:09:36 -0400
commit9c0d6c0a2326d00579c87c140890e6a9b65b6d32 (patch)
treeeeefcfa027ca5664c4aee87d11226b110612993d /lib/sqlalchemy/dialects/mssql/information_schema.py
parent6f4f497f00d55008e4ee612f43b91c3767e0eebe (diff)
downloadsqlalchemy-9c0d6c0a2326d00579c87c140890e6a9b65b6d32.tar.gz
- Rewrote the reflection of indexes to use sys.
catalogs, so that column names of any configuration (spaces, embedded commas, etc.) can be reflected. Note that reflection of indexes requires SQL Server 2005 or greater. [ticket:1770]
Diffstat (limited to 'lib/sqlalchemy/dialects/mssql/information_schema.py')
-rw-r--r--lib/sqlalchemy/dialects/mssql/information_schema.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/information_schema.py b/lib/sqlalchemy/dialects/mssql/information_schema.py
index cd1606dbf..4dd6436cd 100644
--- a/lib/sqlalchemy/dialects/mssql/information_schema.py
+++ b/lib/sqlalchemy/dialects/mssql/information_schema.py
@@ -1,3 +1,5 @@
+# TODO: should be using the sys. catalog with SQL Server, not information schema
+
from sqlalchemy import Table, MetaData, Column, ForeignKey
from sqlalchemy.types import String, Unicode, Integer, TypeDecorator