Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-08-08 : 09:12:08
|
| Tue writes "In a trigger body, can I execute an Java application ? or an DOSEXE file ?Thank youTue Nguyen" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-08-08 : 09:14:38
|
| You can use the xp_cmdshell system procedure to execute commands and EXE files, but beware: you can't run a program that requires user intervention (Word, Excel, or a Java app with a GUI). Also be aware that xp_cmdshell runs synchronously, so if the called app hangs, your SQL Server will also hang.More detail on xp_cmdshell is in Books Online. |
 |
|
|
|
|
|