How to write a query for audit table?
I have to get OLD_Value and NEW_Value
This is my table:
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

Upendra Pratap ShahiPosted Jun 23, 2015, 6:13 AM
Deepak RatanPosted Jun 23, 2015, 6:05 AM
Upendra Pratap ShahiPosted Jun 23, 2015, 5:31 AM
Upendra Pratap ShahiPosted Jun 23, 2015, 5:28 AM
Deepak RatanPosted Jun 23, 2015, 4:05 AM
Upendra Pratap ShahiPosted Jun 23, 2015, 2:50 AM
Jaipal ReddyPosted Jun 23, 2015, 1:08 AM