tsql - Delete Redundant Sql Server Stored Procedures -


how delete redundant stored procedures in t-sql? saying "redundant", talking sps may have different names, work same way -- same input, same output. approaches can different.

here situation: 20-30 databases hundreds of tables each, thousands of stored procedures keeps growing everyday, no version control on stored procedures, , did on production databases, no test databases.

profiler , hard work answer. set profiler monitor rpc:completed event. remove possible columns , add "text data" column. output saved parsed find stored procedures have same paramertes , produce same output. check stored procedure output parameters in sql server profiler more information on results of rpc:completed event.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -