yihua833
SSC Enthusiast
Points: 140
More actions
May 21, 2003 at 7:05 pm
#80981
how can i execute a batch file from T-SQL?
thanks !!!
SJTerrill
SSCrazy
Points: 2938
May 21, 2003 at 7:58 pm
#458080
I recommend using Books OnLine (BOL) to get the full story, but xp_cmdshell allows you to perform a WinX command shell string.
It's like this:
xp_cmdshell '<filepath>\<filename>'
Regards,
May 21, 2003 at 8:30 pm
#458081
thanks, SJ
i'll try it..
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply