Re: SQL error: function round(double precision, integer) does - Mailing list pgsql-sql

From Richard Huxton
Subject Re: SQL error: function round(double precision, integer) does
Date
Msg-id 4222E069.9060108@archonet.com
Whole thread Raw
In response to SQL error: function round(double precision, integer) does not exist  (TJ O'Donnell <tjo@acm.org>)
List pgsql-sql
TJ O'Donnell wrote:
> I received the following error when executing a SQL statement:
> 
> SQL error:
> ERROR:  function round(double precision, integer) does not exist
> 
> In statement:
> 
> select id,smiles,smarts,parameter,oe_count_matches(smiles,smarts) as count,
>  round((parameter*oe_count_matches(smiles,smarts)),2) as 

round((...)::numeric, 2)

--  Richard Huxton  Archonet Ltd


pgsql-sql by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: [despammed] SQL error: function round(double precision, integer) does not exist
Next
From: Michael Fuhr
Date:
Subject: Re: AutoCommit and DDL