On 8 Aug 2011, at 10:35am, Baruch Burstein wrote:

> What is the difference between
> 
>> mprintf("insert into a values(%Q);", val);
> 
> and
> 
>> mprintf("insert into a values('%q');", val);
> 
> If there is no difference, why have two almost identical things?

The '%q' signifies a 64-bit integer expressed as hex.  My guess about capital Q 
vs. lower-case q is that one uses A-F and the other uses a-f for 10 to 15.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to