db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Laurent <s...@neuronfarm.com>
Subject Re: precision for decimals in Torque
Date Mon, 23 Feb 2004 20:43:08 GMT
You can do this by using the size attribute for the column.  For example:

<table name="sample">
  <column name="value" required="true" type="NUMERIC" size="10,2"/>
</table>

-Sean

On Monday 23 February 2004 01:52 pm, Travis.Prescott@novainfo.com wrote:
> I searched the archives and see some history of this issue but no
> responses. In Oracle, I'd define the column as a number(10,2).  This would
> allow me to store a currency value.  How do I define it in the
> project-schema.xml?
>
> Note:  The information contained in this email and in any attachments is
> intended only for the person or entity to which it is addressed and may
> contain confidential and/or privileged material.  Any review,
> retransmission, dissemination or other use of, or taking of any action in
> reliance upon, this information by persons or entities other than the
> intended recipient is prohibited.  The recipient should check this email
> and any attachments for the presence of viruses.  Sender accepts no
> liability for any damages caused by any virus transmitted by this email. If
> you have received this email in error, please notify us immediately by
> replying to the message and delete the email from your computer.  This
> e-mail is and any response to it will be unencrypted and, therefore,
> potentially unsecure. Thank you.  NOVA Information Systems, Inc.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org

-- 
------------------------------
To the systems programmer, users and applications serve only to provide a test 
load.
------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message