Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> blad podczas dodawania tabeli
squid
post
Post #1





Grupa: Zarejestrowani
Postów: 358
Pomógł: 0
Dołączył: 3.07.2003
Skąd: Szczecin->niebuszewo->*(next to window)

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


podczas wykonania zapytania:
  1. CREATE TABLE filmy
  2. (
  3. filmID INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
  4. filmTitle VARCHAR(64),
  5. filmTitlePL VARCHAR(64),
  6. width SMALLINT(4),
  7. height SMALLINT(4),
  8. size INT(10),
  9. volumNumber TINYINT NOT NULL,
  10. currentNumber TINYINT NOT NULL,
  11. codecID INT UNSIGNED NOT NULL,
  12. addDate DATE DEFAULT '0000-00-00' NOT NULL,
  13. userID INT NOT NULL
  14. );


dostaje taki blad:
Cytat
You have an error in your SQL syntax near '\'0000-00-00\' NOT NULL,
    userID INT NOT NULL
);

o co chodzi?
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 14.09.2025 - 13:16