Re: Stored Procedure Owner Issue
From: Raul (raul_at_nothere.com)
Date: 02/11/05
- Next message: Hugo Kornelis: "Re: Replace blank fields"
- Previous message: Jaco: "Replace blank fields"
- In reply to: Aaron Weiker: "Re: Stored Procedure Owner Issue"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 06:39:06 -0800
Thanks for the prompt response. I really appreciate it.
Raul
"Aaron Weiker" wrote:
> Raul wrote:
> > I have several stored procedures and tables that are owned by me (I'm not a
> > system administrator). The stored procedures work when executed from query
> > analyzer but I can't run these stored procedures from a scheduled job.
> >
> > I'm assuming it's because the owner names for the stored procedures and
> > tables are not "dbo". If this is the case, what are my options? Do I need
> > to change the owner name for these objects, or is there another way?
>
> In order to execute these jobs you have a couple options. In the job or
> job step you can have the jobs run under your account. Or you can prefix
> your name with the stored procedure. For example let's assume your db
> login is "raul" and the stored procedure is "test_proc", then your
> execute statement would look like "EXEC raul.test_proc".
>
> --
> Aaron Weiker
> http://aaronweiker.com/
> http://www.sqlprogrammer.org/
>
- Next message: Hugo Kornelis: "Re: Replace blank fields"
- Previous message: Jaco: "Replace blank fields"
- In reply to: Aaron Weiker: "Re: Stored Procedure Owner Issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|