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 in a trigger. Dangerous?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-14 : 11:05:30
John writes "Can xp_cmdShell be called in a trigger? I can't do a select on my table after installing the trigger. Still investigating it. But curious what you know.

thanks in advance, John"

chadmat
The Chadinator

1974 Posts

Posted - 2002-02-14 : 12:08:03
Yes it can be, but I would advise against it. Locks will be held for the duration of the xp_cmdshell process.

This may cause unnecessary blocking.

-Chad

Go to Top of Page
   

- Advertisement -