Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-29-2005, 07:01 AM   PM User | #1
ebco
Regular Coder

 
Join Date: Jun 2002
Posts: 156
Thanks: 0
Thanked 0 Times in 0 Posts
ebco is an unknown quantity at this point
database watch

Like the FileSystemWatcher class to watch file do we have any method to watch sql database table(insert,update, delete) like what trigger doing of sql.
ebco is offline   Reply With Quote
Old 12-29-2005, 07:57 AM   PM User | #2
Roelf
Senior Coder

 
Join Date: Jun 2002
Location: Zwolle, The Netherlands
Posts: 1,110
Thanks: 2
Thanked 28 Times in 28 Posts
Roelf is on a distinguished road
yeah, we got triggers to take care of that.

you can create a trigger for a database table, look it up in the helpfiles or on google

a trigger can fire and do some actions on an insert, update or delete in the table its defined for
Roelf is offline   Reply With Quote
Old 12-29-2005, 08:48 AM   PM User | #3
ebco
Regular Coder

 
Join Date: Jun 2002
Posts: 156
Thanks: 0
Thanked 0 Times in 0 Posts
ebco is an unknown quantity at this point
That is one solution from database point. I want entire solution from .net.

ebco is offline   Reply With Quote
Old 12-29-2005, 09:45 AM   PM User | #4
Roelf
Senior Coder

 
Join Date: Jun 2002
Location: Zwolle, The Netherlands
Posts: 1,110
Thanks: 2
Thanked 28 Times in 28 Posts
Roelf is on a distinguished road
i think i didn´t read your post well enough. Sorry

i dont know of any databasewatcher. i think it will be a pain to build one, much different types of databases, can´t watch changes on the db-file(s) because lot of things happen in memory before the changes are written to the file(s)

i think i would rely on triggers to watch for specific changes
Roelf is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:53 AM.


Advertisement
Log in to turn off these ads.