tags:

views:

11

answers:

0

HI, I have a SP which returning more than 100 fields with 1000+ row. I need to to save all in temp table and and rum my customize query to get the appropriate data.

I did many search but i am unable to find the right solutions for my project. I will appreciate if anyone can share his idea.

create table #SP_Result (i need to create field dynamically according to the SP return result )

exec Ministry..civil_record "2010-08-07","Autogen",20,NULL,NULL,NULL,NULL,NULL,NULL,NULL

I need dump the result from SP to #SP_Result.