SQL Server 2000 and launching executables

Status
Not open for further replies.

Malyk

Ars Tribunus Angusticlavius
8,558
Subscriptor
Basically is this possible?

I have a program that I wrote months ago that runs a couple of queries, launches a batch file, and then sends an e-mail. We've decided to try to move as much of that functionality into SQL Server as possible using jobs, but this is the last remaining issue.

I need to launch this batch file, and I'm hoping that I can do it from within SQL Server. I know (think I know anyway) that SQL Server can access DLL's (actually, that would work too) and so I assume that it would be able to launch an executable, or batch file, or whatever as well. I just can't find out how.

So how do you launch a program from within a SQL Server stored procedure?

Mike
 
Status
Not open for further replies.