Does anyone know how to change the ownership on stored procedures? I found a script but it changes all objects in the database and I cannot have that. I need certains stored procs to be changed and I cannot seem to figure it out.
If not…
How does one rewrite the create script to specify the owner?
All my procedures are written in the script as such…
Right mouse click on the procedure, select “properties”, and in the window the procedure’s code should show up…
Is this what you meant?
(Sorry if you removed all your procedures because of me )
Regards,
Niels
[/QUOTE]
I know where the properties are but you cannot change the ownership of them this way. (Not talking about exec right, I am talking about ownership which is a different thing)
I didn’t remove them because of you so don’t worry. I actually got frustrated and did it before you posted your post. I thought it would be easier to just remove them and then add them again using the proper script.