sql中调用存储过程,很急!!
在单个sql中调用存储过程: 
 好比说insert   into   table   id   values   (...这里需要存储过程返回的id值) 
 该怎么写??
------解决方案--------------------是我没看清楼主的要求.   
 如果希望存储过程是独立的或可重复使用的,那么就只能先保存存储过程返回的值,再将该值插入到表中,例如: 
 declare @ubid int 
 EXEC @ubid = [ProGetID] @Area ,@Model   /*保存生成的ID*/ 
 insert into userbase (ubid,ubmail,ubname)values(@ubid, 'xxx@xxxx ', 'abcdefg ')