473,382 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to monitor a SQL database and its table

11
Hi,

I hv created a web application connected with sql server. (VS 2005 & SQL 2000).

Now I want to monitor a particular table in that database, (an alert message should come, when that particular table has modified, updated or deleted)

any idea?

Thank you
Jan 22 '08 #1
4 1108
dip_developer
648 Expert 512MB
Hi,

I hv created a web application connected with sql server. (VS 2005 & SQL 2000).

Now I want to monitor a particular table in that database, (an alert message should come, when that particular table has modified, updated or deleted)

any idea?

Thank you
when do u want the message box....?? In a particular event???
whenever you are updating,deleting your table then on successful completion of updation or deletion you can show a messagebox......

moreover if you manually modify your table then your program will not sense the change........so you have to monitor your database periodically after your application starts........

so how do you actually want this to happen???
Jan 22 '08 #2
Jex
11
Actually I have a web application, (running in a local server), in that web app, ppl entering their logout times (If a particular person wants to leave the room, he has to enter his name, time, and the reason to leave the room)

Now, the admin (of the application) wants to see, the status of that room every second. So I add a window application (which is installed only in admin's system) and that window application should interact with the database everysecond, and it should show a message box (like yahoo messanger, gtalk - If your friends comes online, the system immediatly show that your friend is online).

So,this is my prob, how can i achive this.?

Thank you
Jan 22 '08 #3
dip_developer
648 Expert 512MB
Actually I have a web application, (running in a local server), in that web app, ppl entering their logout times (If a particular person wants to leave the room, he has to enter his name, time, and the reason to leave the room)

Now, the admin (of the application) wants to see, the status of that room every second. So I add a window application (which is installed only in admin's system) and that window application should interact with the database everysecond, and it should show a message box (like yahoo messanger, gtalk - If your friends comes online, the system immediatly show that your friend is online).

So,this is my prob, how can i achive this.?

Thank you
get a timer control.....you can set the time interval......then on Timer_[size=2]Elapsed[/size] event monitor the database...........
any problem???
Jan 22 '08 #4
Jex
11
Hi dip_developer,

Thats great, I got it, its working now, Thank you so much.
Jan 22 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rohit Raghuwanshi | last post by:
Hello all, we are running a delphi application with DB2 V8.01 which is causing deadlocks when rows are being inserted into a table. Attaching the Event Monitor Log (DEADLOCKS WITH DETAILS) here....
3
by: hikums | last post by:
I dropped the db2detaildeadlock event monitor without flushing the events that were full hoping dropping it will clear the messages also. I now understand this is a default monitor that I should...
4
by: yoyo | last post by:
Is there any way in DB2 to get the exact command. I have an event monitor I created for statments, and all the statment values are filled with a question mark. I was using this at another site...
4
by: Raj | last post by:
Can we create an event monitor for statements in a partitioned environment? CREATE EVENT MONITOR stmt_event FOR STATEMENTS WRITE TO FILE '/home/rajm/event' ON PARTITION 0 GLOBAL DB21034E ...
0
by: sethwai | last post by:
Hi, I've created a statement monitor with the table option on a partitioned database. I have the table going to a partition group that includes all partitions on the database. When I look at...
1
by: vijay.db | last post by:
Hi group, Have a problem with event monitor so my db2diag.log is getting filled like any thing.. Running DB2 V8.1 Fixpack 6 in AIX server. Created a event monitor and redirecting it's...
2
by: Graville | last post by:
All, OK wasn't sure where to post this one but this should hopefully be ok. I am looking for a way to streamline some of the process within our dev team. One of the areas that often takes time...
0
by: Cage | last post by:
hi,all As we known,DB2 Health Center is a very good tool,but it made me a little confusion. I will be very appreciate if anyone give me some advices. The problem is that I want to monitor my...
5
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.