This method returns an list iterator object which can be used to go through result sets provided by stored procedures after calling them using the callproc() method.
In the following example, we execute a stored procedure that
provides two result sets. We use
stored_results() to retrieve them:
>>> cursor.callproc('sp1') () >>> for result in cursor.stored_results(): ... print result.fetchall() ... [(1,)] [(2,)]
Note that the result sets stay available until you executed another operation or call another stored procedure.
Returns a listiterator.