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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -