Division by zero

From: Costin Manda <siderite(at)madnet(dot)ro>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Division by zero
Date: 2005-04-16 07:15:55
Message-ID: 20050416101450.E79C.SIDERITE@madnet.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


In other SQL programs a division by zero is solved by transforming the
result to NULL. How can I make postgres have the same behaviour without
using CASE ?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Julian Scarfe 2005-04-16 08:10:37 Re: SQL Question
Previous Message Tom Lane 2005-04-15 23:15:02 Re: Catching dangling LOBs?