in reply to Re^2: Access won´t allow ENUM, DEFAULT etc in CREATE
in thread Access won´t allow ENUM, DEFAULT etc in CREATE
(I also tried the escape-tags for the ' of the enum) Alsomy $stt = $db->prepare("CREATE TABLE ".$row[0]."(id smallint, datum da +te, mach smallint, van_afd smallint, naar_afd smallint, bewerking int +, hoev_gepland int, gepland enum('true','false')");
won´t work. While("CREATE TABLE ".$row[0]."(id smallint NOT NULL)");
works perfectly. Am I missing something? Greetings, Joris("CREATE TABLE ".$row[0]."(id smallint)");
There's your complete question. I did read it. Here's my understanding of the steps you took:
Anyway, it seems you got the answer that ENUM is not a real SQL command, so you're on your way, and good luck with that.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Access won´t allow ENUM, DEFAULT etc in CREATE
by Lytse Flap (Initiate) on Mar 15, 2005 at 08:43 UTC |