For postgres it is possible to obtain metadata for built-in functions via SQL queries like
SELECT
proname as name,
pg_catalog.pg_get_function_arguments(pg_proc.oid) as input,
format_type(pg_proc.prorettype, null) as returntype,
prosrc as definition
FROM pg_proc;
However for SQL Server, I cannot find any such set of tables or functions. Is it possible?
This should give you what you're looking for... Plus maybe a little extra. ;)