Copy table from one server to another in python(Sybase temporary table) -


import sybpydb import pandas  bconn = sybpydb.connect(user='user', password='password', servername='dev03') dbcur = bconn.cursor()  dbcur.execute("select top 1 *  #tmptbl connectioninfo") bconn.commit()  df = pandas.read_sql("select * #tmptbl", this.bconn) print(df)  bconn1 = sybpydb.connect(user='user', password='password', servername='qcp01') dbcur1 = bconn.cursor() 

i want copy #tmptbl qcp01 server(using bconn1) . there way bring tmptbl data qcp01?

any appreciated.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -