-- In: [[CREATE TABLE `demotable` ( `dt_id` int(11) NOT NULL AUTO_INCREMENT, `dt_hello` text NOT NULL, PRIMARY KEY (`dt_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;]] Out: "dt_id, dt_hello" In: [[CREATE TABLE `demotable2` ( `dt2_a` int(11) NOT NULL, `dt2_b` date NOT NULL, `dt2_c` text NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;]] Out: "dt2_a, dt2_b, dt2_c"