This is a discussion on How to execute a "batch file" using SQL Server 2005? within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi all, As the topic describes, I'd like to run a batch file using sql server. How do i ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| One method is with a SQL Server agent CmdExec job step. Another is via xp_cmdshell. If you choose to use xp_cmdshell, be sure you fully understand the security implications and don't grant direct execute permissions on the proc. -- Happy Holidays Dan Guzman SQL Server MVP "coosa" <coosa76@gmail.com> wrote in message news:1135346052.206276.14220@o13g2000cwo.googlegro ups.com... > Hi all, > > As the topic describes, I'd like to run a batch file using sql server. > How do i do it? > > Thanks in advance > |