Re: [sqlite] An update with LIMIT ?

2004-06-11 Thread Kurt Welgehausen
> Is there a way I could use LIMIT in an update? No, but if your table has a single-column primary key, called PK for example, you can get the same result with update Address set Retrieved = 1 where PK in (select PK from Address where Group = 'a' limit 5) If your primary key

Re: [sqlite] An update with LIMIT ?

2004-06-11 Thread Ron Aaron
On Fri, June 11, 2004 12:50, Jay Macaulay said: > Hi all, > > I have a database where I'm selecting rows using LIMIT. Is there a way I > could use LIMIT in an update? For example right now I do: > > SELECT * FROM address WHERE group="a" LIMIT 5; > > Is there some way I could instantly update

[sqlite] An update with LIMIT ?

2004-06-11 Thread Jay Macaulay
Hi all, I have a database where I'm selecting rows using LIMIT. Is there a way I could use LIMIT in an update? For example right now I do: SELECT * FROM address WHERE group="a" LIMIT 5; Is there some way I could instantly update those 5 I retrieved? Something like: UPDATE address SET

Re: [sqlite] Can't Open Database File

2004-06-11 Thread Tito Ciuro
Hello Stephen, On Jun 11, 2004, at 12:18, Drew, Stephen wrote: The problem with having separate pointers is that the threads themselves do not have any idea of the database they will be using, which is wrapped in shared classes. The threads are merely worker threads that do arbitrary jobs. I