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 |
|
jackbharat
Starting Member
1 Post |
Posted - 2009-08-17 : 19:15:54
|
| Please tell me that how can i get list of all the stored procedure that contains the user defined function |
|
|
Nageswar9
Aged Yak Warrior
600 Posts |
Posted - 2009-08-17 : 23:59:17
|
| Hi Try this once,Select object_name(id) from sys.syscomments where text like '%functionname%' |
 |
|
|
bklr
Master Smack Fu Yak Hacker
1693 Posts |
Posted - 2009-08-18 : 00:22:26
|
| exec sp_depends 'functionname' |
 |
|
|
DonAtWork
Master Smack Fu Yak Hacker
2167 Posts |
Posted - 2009-08-18 : 07:20:18
|
[code]select routine_namefrom information_schema.routineswhere routine_definition like '%function_name%'[/code]This will find it if its commented out too http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspxHow to ask: http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspxFor ultra basic questions, follow these links.http://www.sql-tutorial.net/ http://www.firstsql.com/tutor.htm http://www.w3schools.com/sql/default.asp |
 |
|
|
|
|
|