I've been writing asp code for SQL Server web applications for years and have come up with a problem that has me stumped.
In short, data in one of my tables is periodically and arbitrarily being deleted. Not ALL the data, just SOME of it. And each time it happens, it is different data. It's happening once or twice a week at inconsistent intervals as far as I can tell.
The table is quite narrow (only two fields) but also quite critical as it ties two other tables together and is really important for my client's cash flow.
I have checked the code inside and out and there are NO locations within the code from which to delete the data except one administrative module; using this module it would take DAYS (as well as admin clearance) to delete the amount of data that is regularly disappearing from this table, and those in the company with administrative clearance insist that they are not doing the deleting (there is no reason that they should!)
And yet the data continues to be deleted, and I continue having to restore an older versions of the table.
This system has over 80 tables and it's only happening to this one! It's truly bizarre!
HOW THE HECK COULD THIS BE HAPPENING? ALL IDEAS ARE WELCOME, THIS ONE HAS REALLY GOTTEN ME!
create a log table and the trigger using the below code
once this code is executed, the audit (log) table and trigger are created. then , when ever, some one/thing deletes a record, the trigger inserts
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted? Many believe this is the case.
Let us try to examine for ourselves with an example.
To get started, use the following script, wh…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers.
According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…