I don't believe you can do that, you'll have to pad the number in your code.
-- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include <stdjoke.h> > -----Original Message----- > From: mayo [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 26, 2005 11:00 AM > To: CF-Talk > Subject: mySQL, set preceeding zeros in auto_increment > > I don't use mySQL that often. I need a 12 character auto_increment > number. (I need to start with '00000000000001') I've been > searching for > an hour an unable to find how to set the auto_increment number. > > Thx > > mayo > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207758 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

