import sybpydb
import pandas
bConn = sybpydb.connect(user='user', password='password', servername='DEV03')
DbCur = bConn.cursor()
DbCur.execute("select Top 1 * Into #TmpTbl from ConnectionInfo")
bConn.commit()
df = pandas.read_sql("Select * From #TmpTbl", this.bConn)
print(df)
bConn1 = sybpydb.connect(user='user', password='password', servername='QCP01')
DbCur1 = bConn.cursor()
我想将#TmpTbl复制到QCP01服务器(使用bConn1)。有没有办法将TmpTbl数据带到QCP01?
任何帮助都非常感激。