Re: MOD - Mailing list pgsql-general

From John McKown
Subject Re: MOD
Date
Msg-id Pine.LNX.4.21.0007172152230.2158-100000@linux2.johnmckown.net
Whole thread Raw
In response to MOD  (Tyler Wood <electric_pancake@yahoo.com>)
List pgsql-general
On Mon, 17 Jul 2000, Tyler Wood wrote:

> name,namelink,address,city,state,zip,email
>         from company where MOD(nextscreen,2)=1 order

MOD is short for MODulus, which means the remainder after division. In
the above, it divides nextscreen by 2. If the remainder is 1, then it
selects the row. I.e. "If nextscreen is odd"

John McKown


pgsql-general by date:

Previous
From: John McKown
Date:
Subject: Re: Mailing list archives?
Next
From: Denis Perchine
Date:
Subject: Re: Quoting routines in libpq