1

I want to populate my MSSQL database, so, I will run some procedures with random data. I have to get the parameters of every SP. How I can do that? Thanks.

4

1 回答 1

1

您可以通过简单的查询找到它 -

SELECT p.name
FROM   sys.objects o
INNER JOIN sys.parameters p ON  p.[object_id] = o.[object_id]
WHERE o.[name] = 'stored_proc_name' AND o.[type] = 'P'
于 2013-09-23T20:34:54.400 回答