赛贝斯

优质
小牛编辑
136浏览
2023-12-01

Support for the Sybase database.

The following table summarizes current support levels for database release versions.

数据库接口支持

The following dialect/DBAPI options are available. Please refer to individual DBAPI sections for connect information.

注解

SQL炼金术中的Sybase方言 当前不支持 . 它没有在持续集成中进行测试,并且可能有许多问题和警告目前尚未处理。考虑使用 external dialect 相反。

1.4 版后已移除: 内部Sybase方言已弃用,将在将来的版本中删除。使用外部方言。

Python Sybase

Support for the Sybase database via the Python-Sybase driver.

DBAPI

Documentation and download information (if applicable) for Python-Sybase is available at: https://python-sybase.sourceforge.net/

Connecting

Connect String:

sybase+pysybase://<username>:<password>@<dsn>/[database name]

Unicode支持

此时,python sybase驱动程序似乎不支持任何类型的非ASCII字符串。

脓毒症

Support for the Sybase database via the PyODBC driver.

DBAPI

Documentation and download information (if applicable) for PyODBC is available at: https://pypi.org/project/pyodbc/

Connecting

Connect String:

sybase+pyodbc://<username>:<password>@<dsnname>[/<database>]

Unicode支持

pyodbc驱动程序当前支持使用这些带有unicode或多字节字符串的Sybase类型:

CHAR
NCHAR
NVARCHAR
TEXT
VARCHAR

目前 not 支持的有:

UNICHAR
UNITEXT
UNIVARCHAR

MXODBC

Support for the Sybase database via the mxODBC driver.

DBAPI

Documentation and download information (if applicable) for mxODBC is available at: https://www.egenix.com/

Connecting

Connect String:

sybase+mxodbc://<username>:<password>@<dsnname>

注解

这种方言只是一个存根,目前可能不起作用。