【文件属性】:
文件名称:python-tdadapter:一个Python扩展库,允许通过CLIv2连接到Teradata RDBMS
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-13 21:56:16
C
描述
tdcliviipy是一个Python扩展库,允许通过CLIv2(Teradata本机访问接口)连接到Teradata RDBMS。
要求
CLIv2 (32bit / 64bit)
C compiler
安装
setup.py install build --compile=mingw32
用法
from clivii import connect , CliFail
try :
with connect ( "hostname/username,password" ) as con :
print "Logon."
stmt = "update db.table1 set col1 = 'value1' where col2 = 'value2';"
print "Execute update: \n %s" % stmt