exec sp_help '存储过程名'

解决方案 »

  1.   

    --或者:
    select 参数名=a.name,类型=b.name
    from syscolumns a join systypes b on a.xtype=b.xusertype
    where object_id('存储过程名')=id
      

  2.   

    select a.name,c.name from syscolumns a,sysobjects b,systypes c where a.id=b.id and b.xtype='p' and b.name='存储过程名' and a.xusertype=c.xusertype