Re: simple UPDATE not working
- From: Peter Carlson <peter@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 03 Apr 2007 08:41:28 -0600
Should have wrote that I tried that too :)
UPDATE peter set last='Peter' where id=3
fails as well
Peter
Stephen Howe wrote:
.sSql = "UPDATE peter set last=\"Peter\" where id=3";
db.Execute(sSql);
Should that not be
sSql = "UPDATE peter set last='Peter' where id=3";
single quotes not double quotes for SQL strings
Stephen Howe
- References:
- simple UPDATE not working
- From: Peter Carlson
- Re: simple UPDATE not working
- From: Stephen Howe
- simple UPDATE not working
- Prev by Date: Re: simple UPDATE not working
- Next by Date: Re: simple UPDATE not working
- Previous by thread: Re: simple UPDATE not working
- Next by thread: Re: simple UPDATE not working
- Index(es):
Relevant Pages
|