Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    20

    Unanswered: need to find all jobs using sa pwd in it.

    I need to know if there is any way to extract all our jobs/dts packages
    where the 'sa' password is being used in either the job steps or any stored proc the sa pwd harcoded in it.

  2. #2
    Join Date
    Mar 2002
    Location
    London, UK
    Posts
    24
    for stored procedures/functions, you can search 'sa' from routine_definition in INFORMATION_SCHEMA.ROUTINES view and jobs/DTSs I m sorry at the moment

    --Riaz

    Quote Originally Posted by ranjandba
    I need to know if there is any way to extract all our jobs/dts packages
    where the 'sa' password is being used in either the job steps or any stored proc the sa pwd harcoded in it.

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Change the sa password and see what jobs come to a screeching halt.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  4. #4
    Join Date
    May 2004
    Location
    Seattle
    Posts
    1,313
    jobs are stored in msdb.

    you can search for "sa" or "thesapassword" in the result set returned by msdb.dbo.sp_help_jobstep

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •