How do I execute xp_sendmail on a shared SQL Server ?

From: James Miller (zrt9_at_cdc.gov)
Date: 06/26/03


Date: Thu, 26 Jun 2003 09:31:51 -0700


Some of those procecdures should be perfectly safe for you
to use. I don't see why they couldn't give you access to
the specific procs in master that you need, without giving
you access to all of master. If they don't you really
can't execute any extended procs.

>-----Original Message-----
>Hi Everyone,
>
>I have a webhost that offers SQL2000.
>I have been executing my own stored procs without a
>problem. I just tried to execute xp_sendmail and
>sp_makewebtask..... However.....since it is a shared
>SQLServer..... I dont have permissions on the 'master' DB.
>
>Any Ideas on how I can execute extented stored procs in
>this scenario ?
>
>(they told me they obviously couldn't give me permissions
>in the master db)
>
>So do I lose all of the functionallity of extended stored
>procs, just because of this secuity issue ????
>
>Thanks CS.
>.
>



Relevant Pages

  • Re: SP_ in Stored Procedure Name
    ... We should never name OUR procs sp_, ... > master will be searched first, and the sp will not be found, then it will ... > look in master first... ... > Wayne Snyder, MCDBA, SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • Re: Permissions on sp_OASetProperty
    ... procs. ... Unless you specify 'sa' as the user database owner, ... users to the master database and grant execute permissions on the sp_OA* ... authenticate would I just set the proxy account up using the SQL NT login? ...
    (microsoft.public.sqlserver.security)
  • MS SQL Server - a plethora of limitations...
    ... Personally I'd sack the MS SQL Server ... No create or replace for functions / procs. ... >21 No boolean type for use in stored procs / funcs. ... > RefID1 int not null foreign key references ForKey ...
    (microsoft.public.sqlserver.programming)
  • Re: Function as Parameter?
    ... defined ruby item and its symbol the colon is used before the name. ... In order to execute a command as a string or a symbol you can use the {{ ... passed around in procs, lambdas and Method objects. ...
    (comp.lang.ruby)
  • Re: MS SQL Server - a plethora of limitations...
    ... SQL Server Programmer ... No create or replace for functions / procs. ... > 21 No boolean type for use in stored procs / funcs. ... > RefID1 int not null foreign key references ForKeyon delete ...
    (microsoft.public.sqlserver.programming)