|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Just a curiosity thing, but is there a way to set the auto_increment function of mysql to start all number with a "0" so that the id number or whatever is incremented as: 001, 002, 050 etc??
------------------ SnR Graphics, Low Cost Hosting and Web Development. |
|
#2
|
|||
|
|||
|
Yes, use ZEROFILL in your table declaration:
create table whatever (id integer unsigned zerofill auto_increment primary key,..... |
|
#3
|
|||
|
|||
|
Guess I should spend a little more time in the darn books
![]() Thanks for the quick response. ![]() ------------------ SnR Graphics, Low Cost Hosting and Web Development. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > AUTO_INCREMENT - w/preceeding 0? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|