Re: Telephone number column not working

2004-10-02 Thread Paul DuBois
At 5:26 -0700 10/2/04, Stuart Felenstein wrote: --- Paul DuBois <[EMAIL PROTECTED]> wrote: Are you trying to store telephone number values with the intermediate dashes? Such values are not actually numbers. You'll need to store them as strings, or else remove the dashes. Yes, they made all th

Re: Telephone number column not working

2004-10-02 Thread Patrick Sherrill
oration SW Florida's First ISP - Original Message - From: "GH" <[EMAIL PROTECTED]> To: "Stuart Felenstein" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, October 02, 2004 8:09 AM Subject: Re: Telephone number column not working One issue

Re: Telephone number column not working

2004-10-02 Thread Martijn Tonies
> I have a field "telephone". > Set to type :int: > Length: 11 You cannot store a phone-number in an "int". Use (var)char. With regards, Martijn Tonies Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL Server. Upscene Productions http://www.upscene.com -- MySQL

Re: Telephone number column not working

2004-10-02 Thread Stuart Felenstein
--- Paul DuBois <[EMAIL PROTECTED]> wrote: > Are you trying to store telephone number values with > the intermediate dashes? Such values are not > actually > numbers. You'll need to store them as strings, or > else remove the dashes. Yes, they made all the difference. Set the field type to va

RE: Telephone number column not working

2004-10-02 Thread Peter Lovatt
age- > From: Stuart Felenstein [mailto:[EMAIL PROTECTED] > Sent: 02 October 2004 13:00 > To: [EMAIL PROTECTED] > Subject: Telephone number column not working > > > I have a field "telephone". > Set to type :int: > Length: 11 > It's not working cor

Re: Telephone number column not working

2004-10-02 Thread Paul DuBois
At 4:59 -0700 10/2/04, Stuart Felenstein wrote: I have a field "telephone". Set to type :int: Length: 11 It's not working correctly, and not sure if it's my application or something I have wrongly set up for the database. We are talking about U.S. Telephone numbers here, so 7 digits (area code, ex

Re: Telephone number column not working

2004-10-02 Thread Stuart Felenstein
I guess that is why if I enter 703111 I get this back - 4294967295 Stuart --- GH <[EMAIL PROTECTED]> wrote: > One issue could be that an int column unsigned can > only hold up to > 4294967295 a ten digit number. Plus if you put it in > a context of a > phone number... only area codes 428 or

Re: Telephone number column not working

2004-10-02 Thread GH
One issue could be that an int column unsigned can only hold up to 4294967295 a ten digit number. Plus if you put it in a context of a phone number... only area codes 428 or lower will have ALL THE EXCHANGES and ALL THE UNIQUE NUMBERS in the range... with part of area code 429 A bigint will hold t

Telephone number column not working

2004-10-02 Thread Stuart Felenstein
I have a field "telephone". Set to type :int: Length: 11 It's not working correctly, and not sure if it's my application or something I have wrongly set up for the database. We are talking about U.S. Telephone numbers here, so 7 digits (area code, exchange, unique number) Now it seems everythin