Version: SQLServer 8
I would like to view the contents of a stored function in sqlserver, i.e. what exactly the function is doing.
None of the options listed
select definition from sys.sql_modules where object_name(object_id) like 'functionName'