Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use sp_help to get UDF parameters. 1

Status
Not open for further replies.

Durkin

Programmer
Nov 6, 2000
304
GB
Hi. I'm trying to query the database to return the parameters for a user defined function in the same way that you can for a stored proc using sp_help but sp_help seems not to work for functions. Is there any other way?
Thanks,

Durkin
 
You can use the system tables
select * from syscolumns sysc
inner join sysobjects syso on syso.id = sysc.id
where syso.name = 'ufn_MyFunction'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top