![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 10 Pomógł: 0 Dołączył: 25.03.2003 Ostrzeżenie: (0%) ![]() ![]() |
ma sobie tabele w ktorym jest pole Typu int, tabela jest wypelniona danymi, i teraz chce zmienic typ pola z int na text jak to zrobic, bo nie chce mi sie Tworzyc nastepnej tabeli i kopiowac danych
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 165 Pomógł: 9 Dołączył: 9.04.2002 Skąd: Toruń Ostrzeżenie: (0%) ![]() ![]() |
Ex. pole id to int i zamieniam na bigint (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Kod ALTER TABLE $tabela CHANGE id id BIGINT (10) not null AUTO_INCREMENT
Kossa |
|
|
![]() ![]() |
![]() |
Aktualny czas: 27.09.2025 - 16:55 |