firebird icon indicating copy to clipboard operation
firebird copied to clipboard

add modulo operator '%'

Open nakagami opened this issue 7 years ago • 4 comments

nakagami avatar Feb 26 '18 08:02 nakagami

What's wrong with the built-in function MOD(A, B)?

dyemanov avatar Feb 26 '18 09:02 dyemanov

No problem. Certainly Oracle is not implemented % operator, but PostgreSQL and MySQL have both MOD function and modulo operator.

So I want both MOD and % if it possible.

nakagami avatar Feb 26 '18 09:02 nakagami

confirmed from the docs postgresql has both MOD and % https://www.postgresql.org/docs/16/functions-math.html

mariuz avatar Jul 18 '24 10:07 mariuz

I think this PR should be closed and not merged. PostgreSQL way is different than Firebird way, they use much more non standard operators.

asfernandes avatar Jul 18 '24 10:07 asfernandes