On 18/04/2009 2:33 PM, flakpit wrote:
> If anyone else has a moment and a concrete example instead of sending me to
> tutorials, feel free to step in here.
If you would take a moment to read the fraction of a screen of a
tutorial that I pointed you at (and which contains a concrete example),
On Fri, Apr 17, 2009 at 11:33 PM, flakpit wrote:
>
> If anyone else has a moment and a concrete example instead of sending me to
> tutorials, feel free to step in here.
>
> SELECT * FROM pubs ; I want ALL columns from the 'pubs'
> table
>
> WHERE
If anyone else has a moment and a concrete example instead of sending me to
tutorials, feel free to step in here.
SELECT * FROM pubs; I want ALL columns from the 'pubs'
table
WHERE pub_title LIKE '%salem%' ; Where the title sounds like 'salem'
In the pubs table, there is
just curious; have you tried doing the select in a subquery, and then the order
by in the outer query?
woody
--- On Fri, 4/17/09, sorka wrote:
From: sorka
Subject: [sqlite] Multi column ORDER BY across table peformance problem
To:
This should be simple but apparently it isn't.
I have two tables:
"CREATE TABLE showing ( "
"showingIdINTEGER PRIMARY KEY, "
"stationId INTEGER, "
"startTime INTEGER, "
On 18/04/2009 8:24 AM, flakpit wrote:
>> SELECT pubs.* from pubs, notes, publishers WHERE ...
>
> Thanks, but it didn't work the way I expected it to:)
>
> Now I have my query laid out a lot better and can 'slim' it down from here
>
> SELECT * FROM pubs
> INNER JOIN notes
> ON
>SELECT pubs.* from pubs, notes, publishers WHERE ...
Thanks, but it didn't work the way I expected it to:)
Now I have my query laid out a lot better and can 'slim' it down from here
SELECT * FROM pubs
INNER JOIN notes
ON pubs.note_id=notes.note_id ; notes.
INNER JOIN publishers
ON
"David Bicking" wrote
in message news:80463.54975...@web31802.mail.mud.yahoo.com
> I am trying to figure out an sql query or queries that will do the
> following:
>
> CREATE TABLE (Key_Fields, Start, End, Value_Fields,
> Primary Key(Key_Fields, Start, End));
>
>
Hi,
Renaming the parameters did the trick. however I searched in the app for
such declarations, I could not find any, But there are many third party
libraries are included before that. One of them might have caused the
problem. Thanks for the quick replies.
Manohar
On Sat, Apr 18, 2009 at 12:31
I experience some strange behaviour with SAVEPOINT in combination with
locking_mode=exclusive. Below is a script which I assembled from savepoint.text
13.1 to 13.4. Those tests run OK in normal locking mode, but fail in exclusive
locking more.
To reproduce, run the script below on a NEW and
I am trying to figure out an sql query or queries that will do the following:
CREATE TABLE (Key_Fields, Start, End, Value_Fields,
Primary Key(Key_Fields, Start, End));
For any pair of records where the Key_fields are the same, and the Start of the
one is the same as the end of
On Apr 17, 2009, at 2:53 PM, manohar s wrote:
> Hi
>
> I am getting this error:
>
> sqlite3.h:1757: parse error before string constant
>
> Whenever I am including the static sqlite library in my c++ app.
> This is
> happening with recent release 3.6.13. Earlier I never experienced any
>
Hi
I am getting this error:
sqlite3.h:1757: parse error before string constant
Whenever I am including the static sqlite library in my c++ app. This is
happening with recent release 3.6.13. Earlier I never experienced any
problem. In that line in the header file, This function is present:
Hello guys,
I need your help in order to solve a very annoying issue with sqlite
3.6.11.
I have two opened db inside my application and when I insert 180,000
rows inside a transaction I can see heap memory usage that exceeds
100MB (data is written twice so I have 2 transactions inside two
Cruel. Just cruel.
RW
Ron Wilson, Engineering Project Lead, Tyco Electronics, 434.455.6453
-Original Message-
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
On Behalf Of Vinnie
Sent: Friday, April 17, 2009 8:49 AM
To: sqlite-users@sqlite.org
Subject:
> From: candd
> I want to have a sample C source for a program that convert
> an sqlite
> data base file to xml file.
> could you help me please!
Thats a pretty broad and open ended question. What exactly are you trying to
accomplish here? Do you want to produce enough XML
Just a follow-up in case anyone else runs into this.
The issue was not related to the page size, though different page
sizes could exacerbate the problem.
The problem turned out to be accidentally issuing a select in the
sqlite progress handler. My progress handler was repainting the GUI,
and
SimonDavies wrote:
>
> Is sqlite3_reset() being called before looping around?
>
Nope. And calling it resolved the issue. I didn't realize that was
necessary.
Thanks much!
Jonathan
--
View this message in context:
2009/4/17 jonwood :
>
> Greetings,
>
> I'm getting an error compiling a parameter to a compiled statement.
> Unfortunately, since I'm using a customer wrapper class around sqlite,
> posting my code won't be much help. Here's what I'm doing:
>
> I create a compiled
Greetings,
I'm getting an error compiling a parameter to a compiled statement.
Unfortunately, since I'm using a customer wrapper class around sqlite,
posting my code won't be much help. Here's what I'm doing:
I create a compiled statement (two, actually).
Then, each time through a loop, I bind
On Fri, 17 Apr 2009, flakpit wrote:
> Currently, I return any needed data like this.
>
> select * from pubs,notes,publishers where pub_title like '%salem%'
> and pubs.note_id=notes.note_id
> and pubs.publisher_id=publishers.publisher_id
>
> And it works except for all fields in the matching
Proposed fix:
--- os_win.old 2009-04-09 20:41:18.0 +0200
+++ os_win.c2009-04-17 16:33:47.904710700 +0200
@@ -1317,7 +1317,7 @@
}else{
dwCreationDisposition = OPEN_EXISTING;
}
- if( flags & SQLITE_OPEN_MAIN_DB ){
+ if( !(flags & SQLITE_OPEN_EXCLUSIVE) ){
dwShareMode
> Currently, I return any needed data like this.
>
> select * from pubs,notes,publishers where pub_title like '%salem%'
> and pubs.note_id=notes.note_id
> and pubs.publisher_id=publishers.publisher_id
>
> And it works except for all fields in the matching tables being returned.
>
> Is
Currently, I return any needed data like this.
select * from pubs,notes,publishers where pub_title like '%salem%'
and pubs.note_id=notes.note_id
and pubs.publisher_id=publishers.publisher_id
And it works except for all fields in the matching tables being returned.
Is there any way using
Hi,
I'm using sqlite as the sql driver of Qt 4.
I have a connection created in a thread and i call sqlite3_interrupt()
from another one.
It's working great, perhaps i have not the behavior that say the doc :
"A call to sqlite3_interrupt() has no effect on SQL statements that
are started after
Hi again,
the bug was introduced in revision 1.573 of pager.c.
Best regards,
Filip Navara
On Fri, Apr 17, 2009 at 2:26 PM, Filip Navara wrote:
>
> Hello,
>
> today I tried to upgrade our software from SQLite version 3.6.3 to version
> 3.6.13 and I am hitting a race
> From: John Machin
> Irrespective of what people tell you and how authoritative
> they seem, I
> would recommend that you do some simple tests:
Excellent advice! Thanks!
___
sqlite-users mailing list
sqlite-users@sqlite.org
> From: candd
>
> Dear All!
>
> I am new user of sqlite3
> I want to have a sample C source for a program that convert
> an sqlite
> data base file to xml file.
> could you help me please!
Hi and welcome to the group. Your problem is very easy to solve, just rename
your
Hello,
today I tried to upgrade our software from SQLite version 3.6.3 to version
3.6.13 and I am hitting a race condition that I believe is a bug in the
library. The library is compiled as thread-safe (and it's reproducible even
with the precompiled DLL). Sometimes sqlite3_step fails with
Dear All!
I am new user of sqlite3
I want to have a sample C source for a program that convert an sqlite
data base file to xml file.
could you help me please!
Many thanks!
--
This mail was scanned by BitDefender
30 matches
Mail list logo