Re: 4 Digit ID with Leading Zeros
| From: | Rahul S. Johari | Date: | Thu, 15 Dec 2005 16:59:08 +0000 |
| Subject: | Re: 4 Digit ID with Leading Zeros | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227479@lists.php.net to get a copy of this message | ||
Ave,
Primarily the application is for recycling some data. Things will be added
by a client, shortly processed thereafter in-house, and removed. We won't be
reaching the 10,000 records for this application.
Thanks.
On 12/15/05 11:00 AM, "Jim Moseby" <JMoseby@nrbindustries.com> wrote:
>>
>> I'm looking into the ZEROFILL option now. Didn't know about
>> it before but it
>> looks promising and probably is my solution. I'll get back.
>
> Obviously, with a 4 digit id, you will only be able to store 10,000 records.
> If I recall correctly, MySQL auto-increment fields will not reuse id's when
> they are deleted. So, you will need to take that into consideration when
> (if) you reach the 9,999th record.
>
> JM
Rahul S. Johari
Coordinator, Internet & Administration
Informed Marketing Services Inc.
251 River Street
Troy, NY 12180
Tel: (518) 266-0909 x154
Fax: (518) 266-0909
Email: rahul@informed-sources.com
http://www.informed-sources.com