473,386 Members | 1,815 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,386 software developers and data experts.

DBA member updated the data. How to confirm that he did the update.

Hi,

The person who is responsible for the database (DBA member at client place) updated the particular data in table . How to confirm that he did the update and what time? User name? Machine name?.

we can create the trigger on all the tables but (DBA member at client place) can disable and update the data. (so this is not sufficient one)
we can create the Change Data Capture CDC on all the tables but it’s not storing the User name and Machine name . (so this is not sufficient one)

In case if we want to prove that the particular person did the update/Delete/ Insert on table without trigger. How to do that?

Is that a way we can read the .LDF (log file) and conform that? How to read the log file?

Thanks,
JK
Jun 24 '11 #1
3 1874
ck9663
2,878 Expert 2GB
When you say "at client place", do you mean the data is in your client side or he is in client office connecting to your sever? It would depend on where your db is, but a trigger should be sufficient.

~~ CK
Jun 24 '11 #2
The server exists on client side. we are doing the support to them. Trigger (Client DBA) can diable and do the modification whatever he want to correct? is there any other way we can?
Jun 24 '11 #3
ck9663
2,878 Expert 2GB
There is a trigger called DDL Event Trigger. This is different from a database trigger. You can create one like it so only limited people can disable the database trigger. You can insert all updates to a table. You can use an IDENTITY column on that table so you'll know if someone delete a row. You can also make that table read-only by using a DDL Trigger. Or you can send an email to someone if someone change anything on your server, whether is a setting change or a data change.


Good Luck!!!

~~ CK
Jun 27 '11 #4

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

Similar topics

0
by: Jim C Nguyen | last post by:
I have a table with ~2.2 million rows. Sometimes when I do an update to one single row it will instead update ALL of the rows using the same update. This happens every one in about 500,000...
3
by: Doug O'Leary | last post by:
Hey, all; Apparently, I'm missing the concept. I'm writing a web app in perl to manage nagios configuration files. One of the things I'd like to do is to confirm an update via a popup window...
4
by: Fred | last post by:
Hi. How does one display a confirmation message of either 'Record Updated' or 'Recorded Added"? I've tried the form afterupdate and afterinsert but the afterupdate occurs on an insert too? So...
0
by: Bob | last post by:
Background 1. I create a data table that has one primary key and one unique column with other columns as well 2. I then Bind it to my list countrol setting the DataSource to my table name and...
2
by: Parveen | last post by:
I have a data grid that's bound to a table in my dataset. After inserting a new row into the grid and populating it with data, I go to save my changes. My data adapter update command returns an...
1
by: Adam | last post by:
This is kind of a tough question, but, I'm working on a program now and using sql data adapters with sql server to generate data tables. I'm updating the tables and then using the...
8
by: ibiza | last post by:
Hi SQL fans, I realized that I often encounter the same situation in a relation database context, where I really don't know what to do. Here is an example, where I have 2 tables as follow: ...
2
by: Paul712 | last post by:
Recently, I have a table that I use to update a master table. When I run the same Update query that's been successful in the past, most all of the data in the fields in the update fields has been...
0
by: mwenz | last post by:
I am trying to update an Access table using OLEDB in VB.Net 2005. I can add rows but I cannot update them. Code to instantiate the Access database and table... Dim conn As New...
11
by: Nonki | last post by:
Hi, When I click the update button on my Gridview to update oracle database, it does not show the updated values.. I need help urgently protected void GridView1_RowUpdating(object sender,...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.