Skip to content
Advertisement

Tag: oracle

SQLAlchemy returns script parameters instead of script results

I’m trying to use SQLAlchemy 1.4 to query an Oracle database: This should return some kind of datetime object. When I execute this code (roughly) using SQLAlchemy, it decides to return the value of the :created_date parameter instead. Why is the result (literally) “blah”? EDIT:: See snakecharmerb’s answer below; you can’t bind column or table names with SQLAlchemy. It’s a

cx_Oracle connection fails with ‘DPI-1047: Cannot locate a 64-bit Oracle Client library’

Problem use connection oracle to python source, oracle now is worked to other language php (oci) Error: Code: Answer Update: try the latest version of cx_Oracle see the release announcement. This version (which was renamed python-oracledb) doesn’t need Instant Client so the installation is easier. Here are the cx_Oracle Windows installation instructions, which you probably found from the error message

Advertisement