delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/18/07:14:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: <alexbodn AT 012 DOT net DOT il>
To: djgpp AT delorie DOT com
Subject: Re: SQLite problem
Date: Sat, 18 Sep 2004 14:10:35 +0300
MIME-Version: 1.0
Message-Id: <20040918111022.SRNX17494.fep10@[212.117.129.234]>
Reply-To: djgpp AT delorie DOT com

hi matt,

your source could be written in correct sql syntax, in a more elegant way:

int err = 
sqlite_exec_printf(db,"INSERT INTO customer VALUES"
                   "(%Q, %Q, %Q, %Q);",
                   NULL,NULL,errmsg,
                   C.phone, C.name, C.address, C.comment);

then analyse the eventually returned error.

best regards,

alex

> From: boohiss <boohiss AT cubesource DOT net>
> Date: 2004/09/15 ã AM 05:05:20 GMT+03:00
> To: djgpp AT delorie DOT com
> Subject: SQLite problem


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019