How to get stored procedure parameters details?

前端 未结 11 1226
名媛妹妹
名媛妹妹 2020-12-08 01:58

Where can I find information about stored procedure parameters? In my situation I need to know only the input parameters of given store procedure.

In the sys.o

11条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 02:40

    SELECT *  
    FROM INFORMATION_SCHEMA.PARAMETERS 
    WHERE SPECIFIC_NAME='proc_name' 
    ORDER BY ORDINAL_POSITION 
    

    (tested with MSSQL 2014)

提交回复
热议问题