Name

rebuild_new_residency — rebuild the residency-related columns of the MEMBERS table and repopulate the entire RESIDENCIES table, but only for the individuals with MEMBERS rows that haven't already been analyzed

Synopsis

int rebuild_new_residency ( );  
 

Description

This procedure queries MEMBERS to determine which individuals have any rows with NULL Residency, and then re-analyzes the residency related columns for all of the MEMBERS rows for those individuals. Those individuals' data in the RESIDENCIES table will also be updated appropriately. The interpolated and Supergroup information stored in MEMBERS, and BIOGRAPH, provide the data necessary to rebuild residency.

Caution

The MEMBERS.Supergroup and Delayed_Supergroup columns must be updated[318] if residency is to be correctly computed.

Note

The residency information is not automatically maintained by the system at this time.

Example

SELECT rebuild_new_residency();




Page generated: 2025-03-10T16:52:08-04:00.