Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When does the insert trigger fire?
Message
From
13/11/2008 18:08:35
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361793
Message ID:
01361808
Views:
17
>>Does anyone know when the INSERT trigger fires? Before or after the record is added? My testing seems to be inconsistant, sometimes before, sometimes after. Would there be a way to force the insert within the trigger code so the new values could be read out to the routine?
>
>All regular DML triggers in MS SQL Server are AFTER triggers. The new values are in the Inserted special table.

How about if I'm using a VFP DBC? Is there a way to get to the new values?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform