-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle Type 0 Not Supported #212
Comments
This should (hopefully!) not be too difficult to address. I'll let you know once I've had some time to take a look. |
Please, I need to fix this in the shortest time. Thank you a lot |
I took a quick peek and discovered that this is a "packed decimal" type (SQLT_PDN) which is not documented. I will see if I can find out about this type internally, but if you can change the type of the attribute to a regular number type instead -- that is number(18,10) -- that would make life considerably simpler for everyone! |
…with historical types DECIMAL and NUMERIC (oracle/python-cx_Oracle#212).
I have just pushed the code changes to correct this for you, I believe. Please give it a try and let me know. Thanks! |
@sekando273 to test, you will need to install cx_Oracle from GitHub: https://cx-oracle.readthedocs.io/en/latest/installation.html#install-using-github |
This has been implemented in cx_Oracle 7 which is now released publicly. |
I'm currently using Python 3.6.4 with cx_Oracle 6.4 in Windows Server 2012 R2 and i'm getting this error when i'm trying to Access a NUMERIC type attribute of my User Defined type, it Works with the rest of the attributes, but in this particular case i'm getting an "Oracle Type 0 Not Supported".
The rest of the attributes are NUMBER, VARCHAR, etc. But this one is NUMERIC with precision 'NUMERIC(18, 10)'.
Thanks for your help.
The text was updated successfully, but these errors were encountered: