I have a database and there are some stored procedures with different names but the same body. How can I identify them dynamically using a T-SQL statement?
I cannot use definition column of information_schema.routines
tables because it has create procedure name in it. Hence without that how can I check dynamically redundant procedures.
I tried using different joins and routines tables but couldn't find the right solution.