![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have for example table like Table COMPANY with columns id, name, value, owner, version and one row for example : 1 IBM 2.000.000.000 Mark 1 And if the value of the compny change let's say to 2.000.000.001 new row is inserted in DB and now it look like this with version raised by one. 1 IBM 2.000.000.000 Mark 1 2 IBM 2.000.000.001 Mark 2 Now my question is how to get only newest(biggest) COMPANY record referenced to owner Mark. Do I need some kind of history table ? How to do it ? |
#3
| |||
| |||
|
|
I have for example table like Table COMPANY with columns id, name, value, owner, version and one row for example : 1 IBM 2.000.000.000 Mark 1 And if the value of the compny change let's say to 2.000.000.001 new row is inserted in DB and now it look like this with version raised by one. 1 IBM 2.000.000.000 Mark 1 2 IBM 2.000.000.001 Mark 2 Now my question is how to get only newest(biggest) COMPANY record referenced to owner Mark.Do I need some kind of history table ? How to do it ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |