Description
Returns the previous value from history tracking (Rippling-specific).
Syntax
HIST_OLD_VALUE(field)
Parameters
| Parameter | Description | Data Type | Required |
|---|---|---|---|
| field | Tracked field whose previous value you want from change history | Any | Yes |
Notes
- Returns the value a tracked field changed from for the relevant history event.
Example
SELECT
HIST_OLD_VALUE(tracked_field)
FROM
rippling.employee.Employee
LIMIT
5;