Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Zapytanie Sql, Zapytanie Sql
czlowiek
post 21.04.2005, 15:26:02
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 12.04.2005

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


Kod
CREATE TABLE categories( id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), category VARCHAR(40), type TINYINT, table_name VARCHAR(40), position TINYURL )


Mógłby ktoś wskazać co w tym zapytaniu jest źle, bo mnie zaraz szlak trafi mad.gif

Cytat
Create table Error: 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 'TINYURL )' at line 1


Ten post edytował czlowiek 21.04.2005, 15:26:51
Go to the top of the page
+Quote Post
sobstel
post 21.04.2005, 15:35:25
Post #2





Grupa: Zarejestrowani
Postów: 853
Pomógł: 25
Dołączył: 27.08.2003
Skąd: Katowice

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


o ile mi wiadomo nie ma tekiego typu jak TINYURL w MysQLu


--------------------
"If debugging is the process of removing bugs, then programming must be the process of putting them in..."
sobstel.org
Go to the top of the page
+Quote Post
czlowiek
post 21.04.2005, 15:37:51
Post #3





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 12.04.2005

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


TINYINT powinno być winksmiley.jpg dzięki, godzinę nad tym siedziałem i nie mogłem znaleść w czym jest problem, a to taka głupota ...
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 Wersja Lo-Fi Aktualny czas: 14.08.2025 - 00:50