SQLCMD and the permissions needed

  • Hey all,

    Hopefully this is a simple question. I am trying to figure out what permissions are needed for an account to use SQLCMD. I understand sysadmin allows use of it, but we are trying to not grant this non-user account sysadmin. I have been googling and either I'm not using the right keywords or there isn't a direct answer out there. So I come and supplicate myself to the knowledge of the masses.

  • you mean which one of these?

    • using xp_cmdshell from a stored proc
    • or use a SQL Job with a sqlcmd step
    • or just use sqlcmd on the command line

    and when you mean non-user account what do you mean by this? a service account that is not used interactively? or something else.

    and finally what does the account require to do with access to it?

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

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