You can use xp_cmdshell to call a bat file from SQL Server, below are the scripts for that
-- Calling batch file from SQL Server, this is batch file without parameter
1.
EXEC MASTER..XP_CMDSHELL 'C:\SAMPLEBATFILE.BAT'
No comments:
Post a Comment