diff --git a/samples/DMLReturningMultipleRows.py b/samples/DMLReturningMultipleRows.py index 6a0ba07..3b34afd 100644 --- a/samples/DMLReturningMultipleRows.py +++ b/samples/DMLReturningMultipleRows.py @@ -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]))