in a user db it should just return the user procs since there are no system procs in a user db, maybe I am not understanding you correctly
also add an order by ORDINAL_POSITION to get the parameters in the ame order as in the proc
something like this should list you all the procs order by proc name and parameter position
USE Northwind
SELECT SPECIFIC_NAME as ProcName,PARAMETER_NAME,DATA_TYPE,ORDINAL_POSITION,*
FROM INFORMATION_SCHEMA.PARAMETERS
order by SPECIFIC_NAME ,ORDINAL_POSITION
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.