[FLUG] Re: mysql autoincrement
- From: Carlo Minucci <gecco@xxxxxxxxxxxx>
- To: fanolug@xxxxxxxxxxxxx
- Date: Fri, 20 Apr 2007 09:25:32 +0200
Mailing List del Fortunae LUG
=============================
Davide Sanchioni ha scritto:
qualcuno sa, quando uno ha una tabella con un campo id con
auto_increment come si fa a rifarlo cominciare da 1?
Prova:
ALTER TABLE <tabella> AUTO_INCREMENT = 1;
tenchiu'
cosi' infatti funziona
--
"ufo al popolo"
- References:
- [FLUG] mysql autoincrement
- From: Carlo Minucci
- [FLUG] Re: mysql autoincrement
- From: Davide Sanchioni
Other related posts:
- » [FLUG] mysql autoincrement
- » [FLUG] Re: mysql autoincrement
- » [FLUG] Re: mysql autoincrement
qualcuno sa, quando uno ha una tabella con un campo id con auto_increment come si fa a rifarlo cominciare da 1?
Prova: ALTER TABLE <tabella> AUTO_INCREMENT = 1;
- [FLUG] mysql autoincrement
- From: Carlo Minucci
- [FLUG] Re: mysql autoincrement
- From: Davide Sanchioni