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 |
mcupryk
Yak Posting Veteran
91 Posts |
Posted - 2011-05-19 : 10:45:31
|
delete |
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2011-05-19 : 11:34:53
|
Not really sure what you want but maybe this helpsselect object_name(id)from syscommentswhere text like '%PHONE NUMBER%'(or you can use the new-fangled views sys.sql_modules)==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
|
|
Bustaz Kool
Master Smack Fu Yak Hacker
1834 Posts |
Posted - 2011-05-20 : 17:26:04
|
Would either of these be of use? sys.dm_sql_referenced_entities or sys.dm_sql_referencing_entities=======================================Elitism is the slur directed at merit by mediocrity. -Sydney J. Harris, journalist (1917-1986) |
|
|
|
|
|