728x90

SELECT  o.name, m.definition
FROM sys.sql_modules m JOIN sys.objects o ON m.object_id = o.object_id AND o.type='P'

728x90
Posted by kjun.kr
,