You are here: Re: Default 2147483647 « PHP Programming Language « IT news, forums, messages
Re: Default 2147483647

Posted by Geoff Berrow on 10/26/05 02:59

A waste of electrons? You decide, but Message-ID:
<1130245491.083245.257190@g47g2000cwa.googlegroups.com> from Oli Filth
contained the following:

>If you insert 001234 into an int type, it stores 1234, because that's
>the integer value.
>
>You'll want to use a character-based type, e.g. VARCHAR(x).

I wish I had a £ for every time a student had made that mistake :-}

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this 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

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