There is always the possibility of converting a string into hex.
http://www.sqlite.org/lang_expr.html "Literal Values"
Example:
X'53514C697465'
/Patrik
On 10/26/2012 12:08 PM, Kees Nuyt wrote:
> On Fri, 26 Oct 2012 01:25:24 +,
> YAN HONG YE wrote:
>
>> char bh1[320];
>> memset(bh1,0,320
On Fri, 26 Oct 2012 01:25:24 +,
YAN HONG YE wrote:
>char bh1[320];
>memset(bh1,0,320);
>strcpy(bh1,"sqlite3 -html -header t9_engine.db \"select
>id,partnumber,substr(\'\',1,180) as
>img,pcs from engine where id>7;\" >> n.html");
>system(bh1); //here couldn't work
>
char bh1[320];
memset(bh1,0,320);
strcpy(bh1,"sqlite3 -html -header t9_engine.db \"select
id,partnumber,substr(\'\',1,180) as
img,pcs from engine where id>7;\" >> n.html");
system(bh1); //here couldn't work
error:
sqlite3 -html -header t9_engine.db "select id,partnumber,
char bh1[320];
memset(bh1,0,320);
strcpy(bh1,"sqlite3 -html -header t9_engine.db \"select
id,partnumber,substr(\'\',1,180) as
img,pcs from engine where id>7;\" >> n.html");
system(bh1); //here couldn't work
error:
sqlite3 -html -header t9_engine.db "select id,partnumber,
On Wed, 24 Oct 2012 09:00:31 +, YAN HONG YE
wrote:
>
>sqlite3 -html -header t9_engine.db "select id,partnumber,\"abc.jpg\" as
>img,pcs from engine where id>7;" >> n.html
>here \"abc.jpg\" couldn't work.
Please be more specific about "couldn't work".
What error message
sqlite3 -html -header t9_engine.db "select id,partnumber,\"abc.jpg\" as img,pcs
from engine where id>7;" >> n.html
here \"abc.jpg\" couldn't work.
sqlite3 -html -header t9_engine.db "select id,partnumber,'' as img,pcs from engine where id>7; ">> n.html
Same problem.
strcpy
6 matches
Mail list logo