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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -