0

I am executing some sql in python as follows

statement = "select * from TEST_TABLE"
debug("Statement: %s" % (statement, ))
cursor = gblDBConnection.cursor()
cursor.execute(statement)

I can debug the statement using a debug function I have written but would also like to debug the actual values returned ie after sql execution.

Is there a way of doing this?

1 Answer 1

1
statement = "select * from TEST_TABLE"
cursor = gblDBConnection.cursor()
values = cursor.execute(statement)
debug(values)

?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.