You have multiple tables that contain information about airline tickets and you want to archive data for tickets that are older than one year.
You have the following tables that contain airline ticket information:
Table
Columns
TICKET_NUMBER
TICKET_NUMBER
ISSUE_DATE
CUST_ID
TICKET_COUPON
TICKET_NUBMER
COUPON
FROM_CITY
TO_CITY
TICKET_COUPON_SAVE
TICKET_NUMBER
COUPON
IS_USED
TICKET_PARTITION
TICKET_NUMBER
ISSUE_DATE
PASSENGER_NAME
TICKET_PARTITION_TARGET
TICKET_NUMBER
PASSENGER_NAME
ID_NUM
TICKET_SAVE
TICKET_NUMBER
ISSUE_DATE
CREDITCARD
Each table has a TICKET_NUMBER column. You use the TICKET_NUMBER columns as foreign keys to relate the tables to the driving table and create an entity. You use the TICKET_NUMBER table as the driving table because it has the ISSUE_DATE column. After you create the entity, you use the ISSUE_DATE column to determine which ticket numbers are older than one year, and you archive the rows in each table that have the old ticket numbers.
To create an entity that contains all the tables with airline ticket information, you use Enterprise Data Manager to find table relationships that you can use as foreign keys. The foreign key relationships that you select determine how Enterprise Data Manager forms the entity.