Mark Taylor M.B.Taylor at
Tue Jul 5 15:25:42 CEST 2016

Dear DAL,

table 1 of REC-ADQL-2.0 defines the MOD function thus:

   Name        Arg type    Return type    Description
   ---------   --------    -----------    -----------
   mod(x, y)   double      double         Returns the remainder of y/x.

but as far as I can see, SQL 2003 (I presume 92 as well) and all
the TAP services that I generally use define the arguments the other
way around, i.e.  returning the remainder of x/y.

Am I misreading something or is this an erratum candidate?


Mark Taylor   Astronomical Programmer   Physics, Bristol University, UK
m.b.taylor at +44-117-9288776

More information about the dal mailing list