Skip to content
Advertisement

How to dynamically pass values to the Oracle bind variable using Python (Using cx_oracle module)

I need to get values a from client dynamically(using input function) and I need to pass that value to Oracle bind variable. I am using SQL queries.

Advertisement

Answer

Here’s an example:

Running it gives:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement