Adjust sample now that DML returning variables return an array.

This commit is contained in:
Anthony Tuininga 2018-09-10 11:39:11 -06:00
parent 118952b07d
commit d266d6d0fa
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# Copyright 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright 2017, 2018, Oracle and/or its affiliates. All rights reserved.
#
# Portions Copyright 2007-2015, Anthony Tuininga. All rights reserved.
#
@ -43,6 +43,6 @@ cursor.execute("""
intCol = intCol,
stringCol = stringCol)
print("Data returned:")
for intVal, stringVal in zip(intCol.values, stringCol.values):
for intVal, stringVal in zip(intCol.getvalue(), stringCol.getvalue()):
print(tuple([intVal, stringVal]))