> > i was thinking of cases like '!Fields' => 'date(foo) AS bar', > where "date" is in fact a column in the table too. > > there's also probably some case where confusing the field separator comma > with function argument separator comma causes problems, but i can't > think of anything that quotewords won't get around already.. >
That's true, there may be cases where this doesn't work perfectly, but I don't like to build in an SQL parser, so I think your solution is ok and will catch 99.9% of the cases and for the rest 0.1% there will be a workaround. Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
