Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MSSQL データベースにデータを入力したいので、ランダム データを使用していくつかの手順を実行します。すべての SP のパラメーターを取得する必要があります。どうすればそれができますか?ありがとう。
簡単なクエリで見つけることができます-
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'