August 2017
Beginner to intermediate
426 pages
9h 36m
English
As you can see in the following table, we are maintaining the full history by adding a new record to maintain the history of the previous records:
|
PM_PRIMARYKEY |
EMPLOYEE_ID |
NAME |
LOCATION |
PM_VERSION_NUMBER |
|
100 |
1001 |
STEVE |
INDIA |
0 |
|
101 |
1001 |
STEVE |
USA |
1 |
|
102 |
1001 |
STEVE |
JAPAN |
2 |
|
200 |
1002 |
MIKE |
UK |
0 |
We add two new columns in the table: PM_PRIMARYKEY to handle the issues of duplicate records in the primary key in the EMPLOYEE_ID (supposed to be the primary key) column, and PM_VERSION_NUMBER to understand current and history records.
Read now
Unlock full access