Thanks to everyone for their inputs. I came to know that Varchar(8000) is the max I could pass from an SP to SSIS, also that's the max Xp_CmdShell could work...
Yeah you got it right, BUT the multiple results will come from different tables. It is something like I have a table (say table_1) that loads all the parent tables of...