You might want to add that the by far easiest way to avoid the problem is to use the 'sprintf' like feature of query (and big query).
As in:
query( "SELECT name FROM customers WHERE ident=%s", ident );
This will automatically do the quoting for you. The same goes for the :foo syntax.
/ Per Hedbor ()
Previous text:
2003-10-22 05:06: Subject: Re: Proposal-patch for documentation of Sql.pike
(. Sure I do - I just like to spam this list with patches .) ;-)
/ Peter Lundqvist (disjunkt)