declare @p5 int set @p5=0 declare @p6 int set @p6=0 exec sp_GetID '00','102','SK',1,@p5 output,@p6 output select @p5, @p6 select * from UFSystem..UA_Identity // 种子表 要注意的是, UA_Identity 表中的 值如果超过 2000000000 的话 就会重新从1000000001 开始计算. 尤其在帮二次开发的时侯要注意, 从 U8 自身的 种子表中取.!!!!!