build_arrivals_seq() – Rebuild the ARRIVALS.Seq column

Synopsis

build_arrivals_seq() INT
build_arrivals_seq(wid INT) INT

Input

wid

A WATCHES.WID value, designating the follow which is to have its ARRIVALS.Seq values recomputed.

Description

Rebuild the ARRIVALS.Seq values, either all of them or those of only one follow. When this function is called without an argument, it re-computes all the ARRIVALS.Seq values. When called with a WATCHES.WID value, it re-computes the the ARRIVALS.Seq values of the given follow.

The function returns the number of rows processed, regardless of whether or not a row’s Seq value was changed by the function call.

Page last generated: 2026-06-12 16:40:37 UTC