I am using JDBC to connect my jython to a heterogeneous set of databases. Using the cursor, I get the rows in the form of a list, and the cursor also knows the metadata (cursor.description).
Usually you get the string as a list as a result of the query:
print resultlist(4)
And you should know in advance the order of the columns in the schema.
How can i get something like
print resultset[CustomerName]
to print customer name?
source
share