I want a data from sql server to insert in postgresql
this is my code:
cnxn = pyodbc.connect('DSN=winspeed2')
cursor = cnxn.cursor()
cursor.execute("SELECT CustCode, CustTitle+' '+CustName AS custName, CustAddr1
FROM EMCust WHERE CustCode = %s" % vals['code'])
rows = cursor.fetchall()
============================================================
when I raise Exception(rows) result is:
[('10030', '?????? ???.?????? (????????) ?????', '1/24 ???? 5
??????????????????')]
when I insert to postgresql database , it inserts ??????.
How to solve it.
Original issue reported on code.google.com by kathawu...@gmail.com on 15 May 2012 at 8:02
Original issue reported on code.google.com by
kathawu...@gmail.com
on 15 May 2012 at 8:02