[Typo3-dev] Incorrect SQL when creating tables using ext_tables.sql

Arne Skjaerholt arnsholt at broadpark.no
Fri Apr 22 12:19:01 CEST 2005


Typo3's internal SQL parser is not, on the whole, a terribly good SQL
parser. I've been looking into the issue and I'm working on making a
better SQL parser, but it's not likely that it'll be finished in the
foreseeable future. For the time being you'll just have to submit to the
whims of the SQL parser and use the syntax it expects. It wants K&R
style SQL like so:

--- BEGIN CODE ---
CREATE TABLE mytable (
my_field DATATYPE CONSTRAINT,
my_other DATATYPE CONSTRAINT
);
--- END CODE ---

Arne
:wq





More information about the TYPO3-dev mailing list