存储过程中调用存储过程--急!!!在线等
问大家一个问题!!!    
 如果我在一个存储过程中,   调用另外一个存储过程插入到#table   中,应如何实现? 
 例如:如果是函数的话,可以这样实现: 
 insert   into   #table   (a,b,c) 
 select   a   ,   b   ,   c 
 from   function( ' ', ' ', ' ') 
 如果是存储过程呢?      
 另外,如果要update   #table   中的行时,需要调用存储过程,又怎么实现, 
 如:如果是函数的话 
 update   #table   set   a=b.a 
 from   #table   a   (select   a,c   from   function( ' ', ' '))   b   on   a.c=b.c 
 如果是存储过程呢?   
 急!   在线等!   望高手进来解决!
------解决方案--------------------insert into #t 
 exec 存储过程   
 可以先将存储过程结果放到临时表里,再update关联临时表更新