Here are datatypes and sizes. The problem can be storage.

http://dev.mysql.com/doc/mysql/en/storage-requirements.html


Best Regards
--------------------
Mathias FATENE
 
Hope that helps
*This not an official mysql support answer
 


-----Original Message-----
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: samedi 30 avril 2005 00:25
To: mysql@lists.mysql.com
Subject: Re: Seeking advice on currency type


Harald Fuchs wrote:

>>I can't imagine any reason to use a type other than DECIMAL for a 
>>currency value.
> 
> A reason could be performance.  Storing cent values in an INT field is

> more efficient.

Are you saying that storing and/or retrieving a DECIMAL value takes
appreciably more time than an INTEGER?

-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to