Reply to Re: set default precision on decimal type?

Your name:

Reply:


Posted by Roy Harvey on 12/08/06 20:33

I wouldn't expect that to be something that can be configured. As to
the default of (18,0) vs some other value, I would never allow a
default to be used so it doesn't strike me as a problem. It is so
much safer, and so simple, to always specify what you need explicitly
that I just can't get interested in the issue.

Roy

On 8 Dec 2006 09:34:18 -0800, "Boot2TheHead" <jcollum@gmail.com>
wrote:

>This one cost me a solid half hour yesterday. I'm wondering why on
>earth the default precision for a decimal type is 18,0. Maybe I'm
>mistaken. A decimal datatype sort of implies that you'd want something
>after the decimal!
>
>Question is, can I set this database-wide? Like all new decimal
>datatypes have a precision of 12,6 or something like that? I haven't
>seen anything about this in the googling I have done...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация