Hacks4wbb by HFW™ (https://hacks4wbb.de/index.php)
- WBB Bereich (https://hacks4wbb.de/board.php?boardid=20)
--- wbb 2 PHP_4/5 (https://hacks4wbb.de/board.php?boardid=393)
------ WBB 2.3 Forum (https://hacks4wbb.de/board.php?boardid=246)
---------- Hilfe & Suche & Archiv wbb2.3 (https://hacks4wbb.de/board.php?boardid=400)
----------- WBB 2.3 Hilfe (https://hacks4wbb.de/board.php?boardid=249)
------------ Hilfe gebraucht SQL - Lässt sich nicht einspielen! (https://hacks4wbb.de/thread.php?threadid=28570)


Geschrieben von Philip am 25.03.2007 um 20:38:

traurig SQL - Lässt sich nicht einspielen!

Mir is gestern nacht um 4 mein SQL-Server abgekratzt...

jezz habbich mir kurzfristig andern webspace besorgt (freespace.net oder so)

jezz treten folgende fehler bei 2 tabellen auf..

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
CREATE TABLE bb1_acpmenuitemgroups(
itemgroupid smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
title varchar( 255 ) NOT NULL ,
condition text NOT NULL ,
conditiontype enum( 'OR', 'AND' ) NOT NULL DEFAULT 'OR',
showorder smallint( 5 ) unsigned NOT NULL DEFAULT '0',
acpmode tinyint( 3 ) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY ( itemgroupid )
);

MySQL meldet: Dokumentation
#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 'condition text NOT NULL,
    conditiontype enum('OR','AND') NOT NULL DEFAULT 'OR'' at line 4 


das war der erste ...

der 2.

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
SQL-Befehl: 

CREATE TABLE bb1_acpmenuitemgroups(

itemgroupid smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
title varchar( 255 ) NOT NULL ,
condition text NOT NULL ,
conditiontype enum( 'OR', 'AND' ) NOT NULL DEFAULT 'OR',
showorder smallint( 5 ) unsigned NOT NULL DEFAULT '0',
acpmode tinyint( 3 ) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY ( itemgroupid ) 
);



MySQL meldet:  

#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 'condition text NOT NULL, 
    conditiontype enum('OR','AND') NOT NULL DEFAULT 'OR'' at line 4



thx 4 help :)



Geschrieben von alfie am 26.03.2007 um 19:39:

 

Die Antwort findest du hier:

Mögliche Fehler FAQ

Ganz unten!

alfie


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH