I am using vb5 and sybase db. I have different roles of people ( with active directory groups), change the tables. I want to write an audit trail (audit table) for this table, to see...all those who changed with time stamp). How to acheive this?
How to write an audit trail for a table
1.6k Views Asked by niru dyogi At
2
There are 2 best solutions below
1
Sunil Tandon
On
Try the following:
Create a new table with _log (by copying the original table) with an extra column called audit and force inserts/updates into the table with a trigger or by writing an audit procedure. We applied the same logic to dozens of tables in my last company and it served the purpose.
Related Questions in SYBASE
- Alternative to Top 1 in Sybase DB
- Rounding/conversion of Number/decimal in Sybase IQ
- Connect to Sybase IQ server using Python script on Mac M2
- how to check like condition in if loop
- How can i use a select statement inside another select query statement?
- How to add two sql column decimal values in normal select query
- count(Distinct) windowing function alternative
- Could not load file or assembly 'Sybase.AdoNet2.AseCient'
- Mybatis return -1 when insert and update query execute
- Sybase IQ datepart function strange behaviour
- The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception. SSIS - Sybase
- Sybase jTDS vs jconnect driver
- Azure Data Factory | Sybase database | Error While pulling Data
- Sybase isql : An error occurred when attempting to allocate localization-related structures
- Sybase ASE connetionString is not working without userName/Password
Related Questions in SAP-ASE
- how to check like condition in if loop
- count(Distinct) windowing function alternative
- Sybase ASE connetionString is not working without userName/Password
- Rank function in Sybase ASE to get the top n from each group
- DB Trigger causing primary key constraint violation
- Sybase client install fails on Red Hat linux
- How to extract value between two commas in string with multiple commas?
- sybase sql: choose records for which sum of values in column XYZ equals some specific value - applied to subsets
- Does BackInt support for Sybase Backup?
- Trying to connect Sybase db using golang, but getting following error : netlib: unexpected EOF while reading message
- Improve performance query on SYBASE ASE
- Creating fuction listagg not returning desired results
- Check if flag on or off in Sybase ASE
- Regarding locks in Sybase ASE Database
- How can I query ASE Sybase database to get all users with creation date and assigned roles?
Related Questions in VB5
- Error on Upgrading VB5 code to Vb.net in Visual Studio 2008
- Do i need to change my SQL-Statements in my VB5/VB.net-Application, if i change the used database from Access 97 to Access 365?
- I need Newtonsoft.Json 4.5.0.0 or a way to get Version 13.0.0.0 to work with RestSharp.Net2 for VB
- We are trying to migrate a VB5 program (50k Lines) to VB6 encountering multiple errors
- Getting system time milliseconds
- Connecting VB6 application to SQL Azure Data store
- Using MSXML2.ServerXMLHTTP instead of XMLHTTP for POST requests from VB5 application for handling HTTPS
- Migrating an ancient VB5 program to something newer?
- Error in using winsock in VS2010 : The variable 'Winsock2' is either undeclared or was never assigned
- Convert an unknown database file from a windows software into a MySqli Database
- Which files of VB 5.0 project can I ignore with git?
- Convert a call to old DLL from vb5 to c# - System.BadImageFormatException
- What does the error "wrong version of run-time dll" mean? (VB5 / VB6)
- vb3: change to locale date format
- VB5 and Oracle 11G: Init parameter NLS_NUMERIC_CHARACTERS ignored
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Triggers will work, but depending on the level of granularity and security you need, you may also want to look at using the auditing functionality included in Sybase ASE.
Here is the information on the built in auditing options:
Sybase ASE System Admin Guide: Security Administration - Auditing
Sybase ASE System Admin Guide: Auditing