On Fri, 2005-04-15 at 19:02 -0400, Clay Dowling wrote:
> James Berry wrote:
> 
> > It would be useful to use bound parameters in such cases.
> >
> > Might it make sense to coerce the value at runtime into a string  
> > value in such a case? I believe a similar restriction (ticket #1096:  
> > limit and offset) was recently lifted to allow bound parameters in  
> > those cases, where only an integer is allowed.
> 
> In this case we're dealing with a bit of code that is probably not 
> frequently executed.  snprintf is probably your friend here, at least 
> for the time being.
> 

sqlite3_mprintf() with the %q parameter is perhaps more friendly
still.
-- 
D. Richard Hipp <[EMAIL PROTECTED]>

Reply via email to