Skip site navigation (1) Skip section navigation (2)

Re: Rounding result of expression in SELECT ..AS..

From: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
To: Michael Rowan <mike(dot)rowan(at)internode(dot)on(dot)net>
Cc: pgsql-novice novice <pgsql-novice(at)postgresql(dot)org>,pgsql-novice-owner(at)postgresql(dot)org
Subject: Re: Rounding result of expression in SELECT ..AS..
Date: 2011-12-15 13:45:04
Message-ID: OF9C6F8650.0F17E91C-ON65257967.004B6245-65257967.004B8974@ibsplc.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hello,
> I have three columns in my table:
> netcost integer(9,2)
> taxsum integer(9,2)
> quantity integer
How did you create a table with  integer(9,2) as data type? Could you 
please share the create table command and data insertion statements for a 
couple of records?
Regards,
Jayadevan





DISCLAIMER: 

"The information in this e-mail and any attachment is intended only for 
the person to whom it is addressed and may contain confidential and/or 
privileged material. If you have received this e-mail in error, kindly 
contact the sender and destroy all copies of the original communication. 
IBS makes no warranty, express or implied, nor guarantees the accuracy, 
adequacy or completeness of the information contained in this email or any 
attachment and is not liable for any errors, defects, omissions, viruses 
or for resultant loss or damage, if any, direct or indirect."




In response to

pgsql-novice by date

Next:From: Jean-Yves F. BarbierDate: 2011-12-15 13:47:20
Subject: Re: Rounding result of expression in SELECT ..AS..
Previous:From: Michael RowanDate: 2011-12-15 13:36:54
Subject: Rounding result of expression in SELECT ..AS..

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group