summaryrefslogtreecommitdiff
path: root/adbh.py
diff options
context:
space:
mode:
authorAdministrator <>2009-12-16 13:25:07 -0800
committerAdministrator <>2009-12-16 13:25:07 -0800
commit671f219f35e4c0ccbe551c4cdd4ddf286d3b4626 (patch)
treefcda8263f246bdf503c830bd53713562e7a6c65c /adbh.py
parent60b6a742f49a9076c86556385d10f9984ad8e6a3 (diff)
downloadlogilab-common-671f219f35e4c0ccbe551c4cdd4ddf286d3b4626.tar.gz
hack to work around the lack of a date col type in sql server
Diffstat (limited to 'adbh.py')
-rw-r--r--adbh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/adbh.py b/adbh.py
index f333905..61a56c0 100644
--- a/adbh.py
+++ b/adbh.py
@@ -581,7 +581,7 @@ class _SqlServer2005FuncHelper(_GenericAdvFuncHelper):
'Float' : 'float',
'Decimal' : 'decimal',
'Boolean' : 'bit',
- 'Date' : 'datetime',
+ 'Date' : 'smalldatetime',
'Time' : 'time',
'Datetime' : 'datetime',
'Interval' : 'interval',