Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Startową wartość pola auto_increment
Forum PHP.pl > Forum > PHP
kilofmar
Witam.
Jak zmienić początkową, startową wartość pola auto_increment w tabeli na inną ?
sowiq
  1. ALTER TABLE tabela AUTO_INCREMENT = 100;
ddiceman
Za http://dev.mysql.com/doc/refman/5.1/en/alter-table.html" title="Zobacz w manualu PHP" target="_manual
Cytat
To change the value of the AUTO_INCREMENT counter to be used for new rows, do this:
ALTER TABLE t2 AUTO_INCREMENT = value;
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.