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
Content-Type: text/plain; charset=windows-1255
Content-Transfer-Encoding: 8bit
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