[interchange-bugs] [rt.icdevgroup.org #337] DBI does not quote column names -> reserved words will break query

Peter Ajamian via RT interchange at rt.icdevgroup.org
Thu Feb 25 00:14:20 UTC 2010


<URL: http://rt.icdevgroup.org/Ticket/Display.html?id=337 >

...not a bad idea to do it to the table name either:

my $table = $s->[$DBI]->quote_identifier($s->[$TABLE]);
$sql = "insert into $table ($fstring) VALUES ($vstring)";




More information about the interchange-bugs mailing list