This method returns a list iterator object that can be used to process result sets produced by a stored procedure after calling it using the callproc() method.
The following example executes a stored procedure that produces
two result sets, then uses
to retrieve them:
>>> cursor.callproc('sp1') () >>> for result in cursor.stored_results(): ... print result.fetchall() ... [(1,)] [(2,)]
The result sets remain available until you execute another operation or call another stored procedure.