• eklavu (12/20/2012)


    create temporary tables using dynamic query base on the resultset. Temporary tables are accessible in another SP and from that SP, you can join the two tables.

    Sorry mate but You can not use temporary tables in other SP.