How to get list of database objects for finding specific tables used in storedproceure or functions

select distinct B.name from syscomments Ainner join sys.objects B on A.id =B.object_id where A.text like '%tablename%'

Comments

Popular posts from this blog

How to Convert Word Document to PDF using C#

How to Implement a Simple Chatbot Using ChatGPT in a C# WinForms Application?

Sql query to get counts by quarterly and half yearly