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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 xp_cmdshell works in a job but not in a trigger

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-09-20 : 23:23:12
Tammy writes "running SQL Server 7
Windows NT 4.0 Build 1381 Service Pack 6

I have a job that does the following:
exec master..xp_cmdshell "c:/mydirectories/mycode.vbs"
Works as expected.

But if I put it into an insert trigger SQL server hangs each time I insert a record."
   

- Advertisement -