Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a trigger that updates other fields?
Message
From
17/09/2002 19:11:40
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
How to create a trigger that updates other fields?
Miscellaneous
Thread ID:
00701566
Message ID:
00701566
Views:
66
Hi friends, I have a very a question: How can I create a trigger that updates other fields in the same table? I mean, I know (but I'm not sure ;)) that I must create an update-trigger (a trigger that executes whenever a tables has been updated, sorry for my english) but I never created a trigger so I would like any of you to help me create one. My problem is that I need to record on two fields (cUserModified and cDatetimeModified) the user and datetime that the data on the record was last modified. My VFP app uses a DSN connection with Windows NT autentication (trust connection) so SQL Server knows already who is accessing data.

Any help would be useful.

TIA

Luis
Next
Reply
Map
View

Click here to load this message in the networking platform