@@ -264,22 +264,17 @@ and ``TIME`` columns as simple strings. For example::
264264
265265Yep, so the problem here is that ``DATETIME `` has been supported by `FreeTDS
266266<http://www.freetds.org/> `_ for a long time, but ``DATE `` and ``TIME `` are
267- newer types in SQL Server and Microsoft never added support for them to db-lib
268- and FreeTDS never added support for them either .
267+ newer types in SQL Server, Microsoft never added support for them to db-lib
268+ and FreeTDS added support for them in version 0.95 .
269269
270- There was some discussion of adding it to FreeTDS, but I think that stalled.
271- See this thread:
270+ If you need support for these data types (i.e. they get returned from the
271+ database as their native corresponding Python data types instead of as strings)
272+ as well as for the ``DATETIME2 `` one, then make sure the following conditions
273+ are met:
272274
273- http://lists.ibiblio.org/pipermail/freetds/2013q2/thread.html#28348
274-
275- So we would need to get FreeTDS to support it and then the user would have to
276- make sure to use a very recent FreeTDS (unless pymssql links in said version of
277- FreeTDS).
278-
279- Links:
280-
281- * https://github.com/pymssql/pymssql/issues/156
282- * `Discussion of adding support for DATE and TIME to FreeTDS <http://lists.ibiblio.org/pipermail/freetds/2013q2/thread.html#28348 >`_
275+ * You are connecting to SQL Server 2008 or newer.
276+ * You are using FreeTDS 0.95 or newer.
277+ * You are using TDS protocol version 7.3 or newer.
283278
284279Shared object "libsybdb.so.3" not found
285280=======================================
0 commit comments