Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - 编程 » Python 支持

 

编写使用 sqlanydb 的 Python 脚本

本节概述如何编写使用 sqlanydb 接口的 Python 脚本。API 的完整文档可从 [external link] http://www.python.org/dev/peps/pep-0249/ 获得。


装载 sqlanydb 模块
打开和关闭连接
选择数据
插入行
数据类型转换