Home Forums SQL Server 2005 Administering Generating output to text file from SP via SQLCMD RE: Generating output to text file from SP via SQLCMD

  • we could do but we're talking one login issue every few days and to create, manage and schedule this on 150+ servers, reporting on 1000's of login accounts isn't feasible, just to get the login mappings for one user that might try to access the wrong database. So I thought the easiest way with the lowest overhead is just to run the sp to check on the single login as part of the larger audit report.

    I also want to use the same process for another few tasks I wanted to hand over.