Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a SQL Server trigger signal a COM object?
Message
From
21/08/2000 12:38:57
 
 
To
17/08/2000 23:38:20
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00402271
Message ID:
00407372
Views:
35
>You can call xp_cmdshell (not sure if it is exact name) from a stored procedure. You can probably do it from a trigger but haven't tried that one. The user context needs to have access to this extended sp from the master db.

Thanks, I'll file that away. It may be useful for something else, but in this instance we were able to use SQL security roles to do what was needed without (mis)using the triggers.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Reply
Map
View

Click here to load this message in the networking platform