General information
Forum:
Microsoft SQL Server
Title:
Calling stored procedures at a Trigger
Hi,
Anyone has made somthing like this, on a INSERT trigger:
IF UPDATE(myfield)
BEGIN
EXECUTE myStoredProc 1, (SELECT mySecondField FROM INSERTED)
END
SQL Server return error at the "(".
Any ideas?
Thanks,
Ricardo
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only