Hi,
I am facing a problem.In a Cursor I want to run a select statement by sp_execute statement. Because I don't know the exact fieldname,and no. of fields.So all comes dynamically.That's why I am extracting the field name dynamically and try to execute the statement by execute sp_Excecute .But with that I cannot retrieve the result set.So if can anyone help me that how can I store the result set by doing this?
Thanks & Regards,
Niladri Kumar Saha