Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Blad przy imporcie pliku .sql
Amarel
post
Post #1





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 30.04.2006

Ostrzeżenie: (10%)
X----


Witam!
Czy molgby mi ktos poprawic fragment pliku .sql?

CREATE TABLE militaryattack (
aid int(4) PRIMARY KEY NOT NULL AUTO_INCREMENT,
general1_time int(4) default '0',
general1_units text,
general2_time int(4) default '0',
general2_units text,
general3_time int(4) default '0',
general3_units text,
);

MySQL zwrócił komunikat: Dokumentacja
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 9
Go to the top of the page
+Quote Post
huntercs
post
Post #2





Grupa: Zarejestrowani
Postów: 94
Pomógł: 0
Dołączył: 6.02.2005

Ostrzeżenie: (0%)
-----


mogłeś już zostać na tym IRCu rolleyes.gif
  1. CREATE TABLE militaryattack (
  2. aid int(4) PRIMARY KEY NOT NULL AUTO_INCREMENT,
  3. general1_time int(4) DEFAULT '0',
  4. general1_units text,
  5. general2_time int(4) DEFAULT '0',
  6. general2_units text,
  7. general3_time int(4) DEFAULT '0',
  8. general3_units text
  9. );


--------------------


Go to the top of the page
+Quote Post
Amarel
post
Post #3





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 30.04.2006

Ostrzeżenie: (10%)
X----


Dziekuje. Wszystko dziala.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 03:03