Hi all,
we have large database and we need to change all tables name,stored procedures name,sql server agents etc...
any idea how to do that fast and any impact when we do this..
any suggestions
Hi all,
we have large database and we need to change all tables name,stored procedures name,sql server agents etc...
any idea how to do that fast and any impact when we do this..
any suggestions
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nitin SontakkeRank #264 · 9.6K reputationPosted Dec 31, 2022, 11:54 PM EST
First, it would be nice to know what is the purpose of such an activity. Meaning, standardization, consistency, etc.
Second, can you please give us an example existing name and proposed name.
It is simple as well as complex at the same time.
It is the dependent objects which can be difficult to manage.
Otherwise, you can use metadata to generate object renaming script.
Hope it hleps!
Rajesh GamiRank #30 · 41.5K reputationPosted Jan 3, 2023, 1:15 AM EST
If you want to identify all stored procedures referring to a particular table then use the below query
Tahir AnsariRank #366 · 6.8K reputationPosted Jan 3, 2023, 12:50 AM EST
fore.g table name is tbl_employee so we need to changes tbl_employees or tbl_emp1 etc
stored procedures name is proc_getemp then change to proc_empget, empget, etc.
how to find how many tables are connected to stored procedures