Skip to main content

Hi !

 

I run a stored proc. from sqlserver whose results consists of roughly 10 "tables"/"datasets". (some of them might be empty for certain values of the exec parameters)

 

When called several time with different parameters from a SQLExecutor, the result is a stack of every line of result from every table for every iteration of the call...

 

 

I want to call a python script for each iteration of the call, that will do different things with each dataset of the result...

 

how to split the lines of the result back through each iteration of the call and each dataset ? (And How to know which tables of the results where empty ?)

 

Any way to get the cursor metadata in attributes (ex : the dataset index in the result cursor)?

Be the first to reply!

Reply