You are here: Re: How to execute a "batch file" using SQL Server 2005? « MsSQL Server « IT news, forums, messages
Re: How to execute a "batch file" using SQL Server 2005?

Posted by Dan Guzman on 12/23/05 16:51

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.googlegroups.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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация