in reply to Re: SQL Query
in thread SQL Query
And this looks even better if you don't need to store the SQL for later:$sql = ' CREATE TABLE colors ( color varchar(60) default NULL ) TYPE=MyISAM ';
Here docs are nice, but overkill in this situation since the database could care less how it 'appears'. Just so long as it is valid syntax.$dbh->do(' CREATE TABLE colors ( color varchar(60) default NULL ) TYPE=MyISAM ');
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR F--F--F--F--F--F--F--F-- (the triplet paradiddle)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) 2Re: SQL Query
by thor (Priest) on Jan 11, 2002 at 10:01 UTC | |
by jeffa (Bishop) on Jan 11, 2002 at 11:50 UTC | |
|
Re: (jeffa) 3: SQL Query
by dmmiller2k (Chaplain) on Jan 11, 2002 at 08:05 UTC | |
by jeffa (Bishop) on Jan 11, 2002 at 08:11 UTC | |
by gmax (Abbot) on Jan 11, 2002 at 12:36 UTC | |
by dmmiller2k (Chaplain) on Jan 11, 2002 at 08:49 UTC |