TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Deepak Ratan
NA
175
50.5k
SQL Trigger for adding Old Val and New Val to audit table
Jun 22 2015 5:28 AM
Hi All,
This is My tables, Using trigger in Audit ( SQL ) how can we find OLD Value and NEW value when the table is Insert or Update or Delete,
Help
Tabel : 1
BusinessEntityID
int PRIMARY KEY
RateChangeDate
datetime
Rate
money
PayFrequency
tinyint------ > Have to change this column
ModifiedDate
datetime
Tabel : 2
BusinessEntityID
int PRIMARY KEY
Old_Value
tinyint
New_Value
tinyint
ModifiedDate
datetime
Reply
Answers (
3
)
How to Create a Audit table
Query