Microsoft
Software
Hardware
Network
Question : Find & Replace on all views, stored procedures, functions in a given database/server
I'm trying to clean up unused tables in the database. I have been able to do a scan on the web server to see if certain tables are being called from a web page, but unable to know if a table is being used in a stored procedure, a function, or a view that a web page calls.
Is it possible to use Microsoft SQL Manager to scan a database or a server for any functions, stored procedures, or views that use a particular table?
Using:
Microsoft SQL Server Management Studio 10.0.1600.22 ((SQL_PreRelease).080709-1
414 )
Microsoft Analysis Services Client Tools 2007.0100.1600.022 ((SQL_PreRelease).080709-1
414 )
Microsoft Data Access Components (MDAC) 6.0.6002.18005 (lh_sp2rtm.090410-1830)
Microsoft MSXML 3.0 5.0 6.0
Answer : Find & Replace on all views, stored procedures, functions in a given database/server
With column names...
sp_MSForEachDB 'select ''?'' as DbName,object_name(id) as Object,text as Text from ?..syscomments where text like ''%<
Random Solutions
Disable Win XP auto-created printer from being auto-created by Citrix
modify cangrow property dynamically
Basic Question: how to get to VBA for Report Open Event
KMS Server on WIndows 2008 r2
How To Transpose A Access 2007 Query Result
Date criteria in Access 2007
IPSec enabled automatically
Changing Source Control Location
Unable to Install Office Communicator 2005 after Un-install
I need my DateTimePicket to only allow dates for this year (vb.net)