Davide Alberani wrote: > Anyway, fixed (the code was already in place, but commented). > I can also introduce a switch, if other db servers requires every > value to be quoted.
I think a good heuristic is: Use quotes only if necessary, i.e. if the column value contains a comma. > The code to import the csv files into a db is still missing. I will figure out what to do in DB2 and then give you a complete report. Until then, I will keep you informed about bugs I found. :-) For example this one: Escaping of quotes is wrong. The CSV RFC requires " to be escaped by "", not by \" Joachim -- M. Sc. Joachim Selke Technische Universität Braunschweig, Institut für Informationssysteme Mühlenpfordtstraße 23, 38106 Braunschweig, Germany <http://www.l3s.uni-hannover.de/~selke> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel