r_and(C;S)
Returns a boolean value indicating whether all the values in a given set of columns are true.
Function type
Vector only
Syntax
r_and(C;S)
Input
Argument | Type | Description |
---|---|---|
C |
integer | A space- or comma-separated list of column names
If All values in the columns listed in |
S |
integer | A boolean column or an expression in
rcv_ /rcn_ /rct_ which determines
whether or not that column is selected to be included in the calculation. See System variables for more information about
rcv_ /rcn_ /rct_ .If
|
Return Value
For each row of the table, r_and
returns an integer value of
1 if all of the values in the columns listed in
C
are equal to 1.