How do I call a stored procedure with arguments using sqlcmd.exe?

Viewed 44195

I need to call a stored procedure and pass arguments in from Powershell. I think the best option is to use sqlcmd.exe but I'm not sure how to pass arguments to the stored proc using this tool.

2 Answers
Related