Running a DTS package

  • Hi!

    The only reason for using xp_cmdshell by ordinary users in my database is starting a DTS package from a stored procedure. I really would like to avoid using xp_cmdshell.

    Is there other way to start DTS package from an SP?

    Thanks.

  • You could create a sql scheduled task to run the job, then allow the users to run sp_start_job to start the job.

    Steven

  • Just to add steven_white40's reply, if you setup a scheduled task, make sure you disable, or remove, the schedule.

    Hope this helps

    Phill Carter

    --------------------

    Colt 45 - the original point and click interface

    --------------------
    Colt 45 - the original point and click interface

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply