English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to issue a SQL statement that will run an external batch file. I can locate the file on the SQL server if necessary. This is because the business app I'm using allows me to attach a SQL command to any field, but not an external program to run. Thus I would like to write a SQL statement to run an external program.

2007-03-30 09:12:45 · 2 answers · asked by mark_chinsky 2 in Computers & Internet Programming & Design

2 answers

You could follow the directions here:
http://www.codeproject.com/database/xyprocedure.asp

Basically you'd just put the sql call to the extended stored procedure in your application.

2007-03-30 09:21:34 · answer #1 · answered by Vegan 7 · 1 0

Use a DTS package to drop a batch file in a predetermined location. Schedule a task in the OS to run the batch file.

2007-04-01 01:55:43 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers