I cannot retrieve records for a Arc/Oracle database
I get an "UnicodeEncodeError: 'ascii' codec can't encode character" error
snippet of the code:
sdeConn = arcpy.ArcSDESQLExecute(sde_conn_file)
for tbl in tableList:
userValue = "u'"
val = ''.join([x for x in userValue if ord(x) < 128])
sdeReturn = sdeConn.execute("SELECT * FROM DBA_OBJECTS" )
The records are printed out as:
I tried to use a CSV.writer - did nothing??
def writerows(self, rows):
file = open(output_file, 'wb')
for row in rows:
I would appreciate assistance to get the CSV.writer working...