/* For a simple documentation this Transact-SQL script lists all programmability objects like stored procedures and functions with their input and output parameter including the data types Works with SQL Server 2005 and higher versions in all editions. Requires VIEW META DATA permissions. */ -- Programmability Objects and their Parameters SELECT SCH.name + '.' + OBJ.name AS ObjectName ,CASE WHEN PARA.is_output = 1 THEN N'