[python-win32] Problem with Raw datatype

swarna np npswarna_13 at yahoo.co.in
Fri Jun 8 10:24:45 CEST 2007


Hi All,

I am using Oracle as by DBMS and Python for front end.

I am having a problem with 'Raw' data type of Oracle, it is as follows:

1. When I fetch a column whose type is 'Raw' it's being formatted.
For ex:  The value in the DB is : 'FEEDEE007F91500D9638994600A3C50C'
But the python prints it as:''\xfe\xed\xee\x00\x7f\x91P\r\x968\x99F\x00\xa3\xc5\x0c'

I want to use the same value in my select statement later. 
I am not sure how to get back the original raw value from the formatted string by Python.

Can you please help me out?

Thanks,
Swarna

 			
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20070608/c6a003b1/attachment-0001.html 


More information about the Python-win32 mailing list