Hello,
How can I do a bulk update on the scripts of all my triggers, procedures, user define functions and views so I can change some string to another.
For example, we had hardcoded the owner of the tables that the above objects refer to, but now need to change to something else. So now I may have something like “SELECT * FROM someuser.sometable” to “SELECT * FROM [somedomain\domainuser].sometable”.
Thank you.
How can I do a bulk update on the scripts of all my triggers, procedures, user define functions and views so I can change some string to another.
For example, we had hardcoded the owner of the tables that the above objects refer to, but now need to change to something else. So now I may have something like “SELECT * FROM someuser.sometable” to “SELECT * FROM [somedomain\domainuser].sometable”.
Thank you.