pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonah Kuo <jonahkuo@mail.ttn.com.tw>
To: pgsqsl-sql <pgsql-sql@postgresql.org>
Subject: decimal(x,y) function.
Date: Mon, 25 May 1998 16:56:09 +0800
Message-ID: <35693229.450F7394@mail.ttn.com.tw> (raw)

Hello,

    How should I use the decimal(x,y) function?

    I tried use it  with the following result:

db6000=> create table atest (
db6000-> price decimal(8,2));
ERROR:  DECIMAL scale 2 must be zero

    thanks in advance,

Jonah





view thread (3+ messages)  latest in thread

Message-ID: <35693229.450F7394@mail.ttn.com.tw>
Permalink:  ../35693229.450F7394@mail.ttn.com.tw/
Also on:    postgresql.org/message-id/35693229.450F7394@mail.ttn.com.tw

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jonahkuo@mail.ttn.com.tw
  Subject: Re: decimal(x,y) function.
  In-Reply-To: <35693229.450F7394@mail.ttn.com.tw>
  References: <35693229.450F7394@mail.ttn.com.tw>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox