views:

77

answers:

2

It's not in INFORMATION_SCHEMA.COLUMNS, so where is it?

This is a schemabound inline table valued function, so it doesn't have the issues which a stored procedure might have in being able to vary its output schema(s) based on parameters.

A: 
SELECT *
FROM sys.columns
WHERE [object_id] = OBJECT_ID('udf Name Here')
Cade Roux
+3  A: 

Check out the ROUTINE_COLUMNS view if you're using SQL2005 or SQL2008

CodeByMoonlight
+1 neato - learned something new again! :-)
marc_s