Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
aakcse
Aged Yak Warrior
570 Posts |
Posted - 2010-05-20 : 11:51:19
|
| Hi Allhow to get the list of functions created by user in sqlserver2005-Neil |
|
|
vijayisonly
Master Smack Fu Yak Hacker
1836 Posts |
Posted - 2010-05-20 : 11:56:12
|
This is one waySELECT * FROM sys.objectswhere type_desc like '%FUNCTION%' EDIT : Will give you all the UDFs on that DB |
 |
|
|
aakcse
Aged Yak Warrior
570 Posts |
Posted - 2010-05-20 : 13:31:07
|
| I have used the below query, I am right?SELECT schema_name(uid),a.nameFROM sys.sysobjects a WHERE xtype = 'FN' and a.name not like '%$%' ORDER BY 2-Neil |
 |
|
|
vijayisonly
Master Smack Fu Yak Hacker
1836 Posts |
Posted - 2010-05-20 : 14:14:02
|
| This wont return Table Valued functions which will have the type as 'TF'...you may want to include that. |
 |
|
|
|
|
|