Lytse Flap has asked for the wisdom of the Perl Monks concerning the following question:
(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)");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Access won´t allow ENUM, DEFAULT etc in CREATE
by gaal (Parson) on Mar 14, 2005 at 16:00 UTC | |
by Lytse Flap (Initiate) on Mar 14, 2005 at 22:40 UTC | |
by gaal (Parson) on Mar 15, 2005 at 08:10 UTC | |
|
Re: Access won´t allow ENUM, DEFAULT etc in CREATE
by eXile (Priest) on Mar 14, 2005 at 15:46 UTC | |
|
Re: Access won´t allow ENUM, DEFAULT etc in CREATE
by talexb (Chancellor) on Mar 14, 2005 at 16:08 UTC | |
by Lytse Flap (Initiate) on Mar 14, 2005 at 22:48 UTC | |
by talexb (Chancellor) on Mar 15, 2005 at 05:21 UTC | |
by Lytse Flap (Initiate) on Mar 15, 2005 at 08:43 UTC |