Name

rebuild_ranks — rebuild the calculated columns in RANKS for all rows with a specific Grp, Rnkdate, and Rnktype

Synopsis

int rebuild_ranks ( grp,  
  rnkdate,  
  rnktype);  
NUMERIC(6,4) grp ;
date rnkdate ;
varchar(6) rnktype ;
 

Input

grp

A GROUPS.Gid.

rnkdate

A date.

rnktype

A RNKTYPES.Rnktype.

Description

This procedure rebuilds the Ags_Density, Ags_Reversals, and Ags_Expected columns for all rows in RANKS with the specified Grp, Rnkdate, and Rnktype. The INTERACT_DATA, PARTS, and RANKS tables provide the data necessary to rebuild these columns.

Note

These columns are not automatically maintained by the system at this time.

Example

SELECT rebuild_ranks(1.0000, '2003-02-01', 'ALM');


Page generated: 2024-08-22T14:17:08-04:00.