On Fri, 3 Oct 2014 18:39:29 +0530, Prakash Premkumar
<prakash.p...@gmail.com> wrote:
> Can you please tell me which function is
> sqlite actually generates the Vdbe
> program for a give sql string ?
http://www.sqlite.org/c3ref/prepare.html
--
Gr
qlite3_bind() new
values, sqlite3_step(), and finally sqlite3_reset() to use the
same compiled statement again and again.
That way, there is no need to _finalize() and _prepare() every
time, and you may not need that optimization at all.
--
Groet,
Kees Nuyt
# Insert a row of data
c.execute("""insert into stocks
values ('2006-01-05','BUY','RHAT',100,35.14)""")
https://pysqlite.readthedocs.org/en/latest/sqlite3.html
No idea whether that solves your problem.
--
Regards,
Kees Nuyt
___
>
> Can anyone help with some clues for me?
I hope the hints above help.
--
Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
t can be used for tuning the performance of sqlite3
> in this scenario?
I suspect this is a case of
http://knuyt.demon.nl/sqlite.org/faq.html#q19
--
Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:80
On Wed, 15 Oct 2014 01:26:10 +0200, Kees Nuyt <k.n...@zonnet.nl>
wrote:
> http://knuyt.demon.nl/sqlite.org/faq.html#q19
Oops, make that
http://www.sqlite.org/faq.html#q19
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite
ed database libraries don't (have to) care
about concurrency at all, so the concurrency that SQLite
supports is a lot already.
There are enough other products available that target that
market.
> Thanks a lot.
You're welcome.
--
Regards,
Kees Nuyt
___
On Mon, 27 Oct 2014 07:20:04 +1100, Isaac Faulkner
<ifaulkne...@students.bdc.nsw.edu.au> wrote:
>
>
>I did not sign up for this someone hacked my email stop spamming me please
Visit the link below, make it send your password, then login and
unsubscribe.
Rega
t; on a concurrent dispatch queue.
Are you sure the temp objects are accessed via the same
connection (db object) as where they were created?
> Is there a better multi-threaded approach?
I'll leave that to someone more experienced in threading.
--
Regards,
Kees Nuyt
__
VALUES (1,x'313131');
sqlite> INSERT INTO T VALUES (2,x'323232');
sqlite> UPDATE T SET bl=x'33' WHERE bl=x'323232';
sqlite> SELECT * FROM t;
1|111
2|333
sqlite> DELETE FROM t WHERE bl=x'313131';
sqlite> SELECT * FROM t;
2|333
sqlite>
>Thank you,
>Jozsef
Hope this helps.
=something_larger_than_default;
PRAGMA cache_size= .. ;
--
Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
atitude: 1.234568, longitude: 5.678901
sqlite>
Hope this helps.
--
Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
room
* Exclude directories with sqlite databases /
Lightroom catalogs from all viruscanners.
If that is not possible, (temporarily) disable
all real-time virusscanners
--
Regards,
Kees Nuyt
On Thu, 6 Aug 2015 10:17:43 -0500, John McKown
wrote:
> Too bad that SQLite does not implement updatable views.
Sometimes a similar construct as updatable views can be obtained
with an INSTEAD OF trigger.
--
Regards,
Kees Nuyt
3 (seqno INTEGER PRIMARY KEY NOT NULL);
WITH RECURSIVE generate AS
( SELECT 1 AS seqno UNION ALL SELECT seqno+1 FROM generate
WHERE seqno < 10)
INSERT INTO table_of_i3 (seqno) SELECT seqno FROM generate ORDER
BY seqno;
PRAGMA table_info(table_of_i3);
.dump
--
Regards, Cordialement, Groet,
Kees Nuyt
e it), but in my
opinion it does not belong in the core engine that SQLite is.
It's lite for good reasons.
It even would be fine to me if all ALTER TABLE features would be
removed.
--
Regards,
Kees Nuyt
recursive query in SQB take 6 min,
> on other IDEs it would be less than 2 min.
>
> My $0.02
For exactly that reason I would advise everyone to use the
sqlite3 command line tool for performance comparisons in this
mailing list.
--
Regards, Cordialement, Groet,
Kees Nuyt
ite3 command line tool is build
using:
gcc ${CFLAGS} -o sqlite3 sqlite3.c src/shell.c
More info:
http://www.sqlite.org/howtocompile.html
I hope this helps. If you need more detailed info, please reply
with the specifications of your platform.
--
Regards,
Kees Nuyt
VALUES (1);
INSERT INTO T1 (anint) VALUES ('two');
> I don't want to take up your time, so if there's a document I can read
> about it'd be great.
https://sqlite.org/datatype3.html
All docs:
https://sqlite.org/docs.html
--
Regards, Cordialement, Groet,
Kees Nuyt
the app on, but it does not work on
> the seventh tablet with the same OS version?
> * What is the solution to this problem?
Check free RAM before extracting an image.
Maybe: run garbage collection and/or push other apps to
background.
--
Regards, Cordialement, Groet,
Kees Nuyt
ed it from being overwritten with operator overloading the '=' sign.
>I did this to ensure the safety of the prepared sqlite3_stmt*.
Is there any chance the statement is _step()ped, _finalize()d
and then re-used? To be able to use a statement multiple times,
it should not be finalized but rather _reset().
>Thank you for your help,
>Ch?
HTH
--
Regards,
Kees Nuyt
the state/context of a statement.
Aditionally, any BEGIN TRANSACTION should be paired with a COMMIT or ROLLBACK.
>Cheers,
>
> - Barry
--
Regards, Cordialement, Groet,
Kees Nuyt
74 31 22
020 20 56 41 4c 55 45 53 28 31 2c 27 c3 a9 c3 a9 6e
040 27 29 3b 0a
044
--
Regards,
Kees Nuyt
he statement, you can
just _reset() it to finish the _step() loop and keep the
statement around for reuse (with new bindings) later.
_reset() will free the resources that are allocated at the first
_step().
--
Regards,
Kees Nuyt
ckpoint=N; and
PRAGMA database.wal_checkpoint(); ?
http://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint
--
Regards,
Kees Nuyt
_sequence
table.
$ sqlite3 t2.sqlite
SQLite version 3.8.11 2015-05-20 00:15:27
Enter ".help" for usage hints.
sqlite> create table t(id integer primary key autoincrement, tx
text);
sqlite> insert into t (tx) values ('one'),('two');
sqlite> select * from sqlite_sequence;
t|2
sqlite>
--
Regards,
Kees Nuyt
On Thu, 21 May 2015 12:45:41 +0200, "Christoph P.U. Kukulies"
wrote:
>Am 21.05.2015 um 10:00 schrieb Kees Nuyt:
>> On Thu, 21 May 2015 09:40:53 +0200, "Christoph P.U. Kukulies"
>> wrote:
>>
>>> Am 21.05.2015 um 09:25 schrieb Hick Gunter:
&
; miles zhang
> 2015-05-21
--
Regards,
Kees Nuyt
st as fast as when the second run
was optimized out.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
ou what you can do there.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
;INDEX IF EXISTS 'index1'; ? Doing so still shows the index when I load the
>database in SQLite Administrator.
What operating system are we talking about?
What is the exact full path to the database file?
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
_
d the trigger are pretty straightforward, and the SQL
could probably be generated by a smart m4 macro.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
On Sat, 16 Nov 2013 23:59:35 +0100, Petite Abeille
<petite.abei...@gmail.com> wrote:
>
>On Nov 16, 2013, at 11:02 PM, Kees Nuyt <k.n...@zonnet.nl> wrote:
>
>> For the application, the merge would look like a single
>> INSERT INTO merge_t statement.
>
>H
risk of reading some of it before a change and some of it after
>> the change. So yes, you need some form of mutex. Or to use the SQLite
>> backup API to read the file. Or to use the normal SQLite API to open the
>> file read/only and read all the data.
>>
>> Simon.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
o write in single query?
>>>
>>> Regards,
>>> va
>>> ___
>>> sqlite-users mailing list
>>> sqlite-users@sqlite.org
>>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
&g
the discussion,
so I missed part of the spec.
I'm sure the OP will sort it out after so many hints :)
>On 2013/11/18 13:55, Kees Nuyt wrote:
>> On Mon, 18 Nov 2013 13:04:31 +0200, RSmith <rsm...@rsweb.co.za> wrote:
>>
>>> Oops, misprint...
>>>
>>&
.mode line sometimes, which is easy to postprocess,
or .mode list with .separator '\001', if the data is suitable.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
FROM table_c WHERE name=?)
);
>Thanks,
>jlc
HTH
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
to reduce
the size of the intermediate result set.
For faster pagination, read :
http://sqlite.org/cvstrac/wiki?p=ScrollingCursor
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://s
you will get better/quicker/more
answers if you also post:
- a minimal set of sample data that
can demonstrate the problem
- expected result
- obtained result
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
s
32 bit works fine on 32-bit and 64-bit Windows OS.
Only for very large databases you may need SQLite compiled for 64 bit.
Typically, that is not something a newbie would do.
>Regards
>Krishna
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
erties / security / advanced / etc.)
Remark: Do you know that concurrent access to sqlite files
on network shared filesystems is not safe?
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.
d, there is an
easy workaround
(oneliner wrapped by mail) :
printf ".output stderr\nPRAGMA busy_timeout =1000;\n.output stdout\ncreate
table foo as select 1 as
c;select * from foo;" |sqlite3 2>/dev/null -html -header :memory:
yields:
c
1
--
Groet, Cordialement, Pozdrawiam,
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
&& make \
&& mv -f fossil ${HOME}/usr/bin/fossil \
&& make clean \
&& cd
set +xv
}
On Solaris, I complie trunk every now and then, on MS Windows, I run the
released executables.
I'll try the same on XStreamOS shortly.
http:/
Some simple experiments will tell you.
I hope this helps.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
the database.
http://sqlite.org/c3ref/get_autocommit.html can help you decide
what mode you are in.
By the way, autocommit is not the best thing to do if you have
related insert/update/delete statements in an application
transaction. Related updates should be in the same, at
at give anyone a better idea of what could be happening and how I
>> can fix this problem?
>
>Looks like GetFileAttributesEx() might be throwing an ERROR_ACCESS_DENIED
>exception. Maybe a virus scanner or some other background process had
>temporarily locked the database file.
&g
On Mon, 10 Feb 2014 14:18:18 -0500, C M <cmpyt...@gmail.com>
wrote:
>On Sat, Feb 8, 2014 at 4:28 AM, Kees Nuyt <k.n...@zonnet.nl> wrote:
>>
>> On Sat, 08 Feb 2014 12:06:01 +0700, Dan Kennedy
>> <danielk1...@gmail.com> wrote:
>
>
>
>> >&
be a literal but an identifier, just like
table names and column names.)
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
the journal file will be replayed and deleted.
>
> Is my understanding correct?
Yes.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
e that
>has attempted to figure this out has been stumped. I am using Microsoft
>Visual Studio 2012 and C++.
Which version of MS Windows?
What is the path to the database file?
Is the database perhaps stored in a "protected" directory?
Any errors on execution of the BEGIN and COMMI
one knows a better way to read and understand the files I would
> greatly appreciate it
>I think the file ext. is a plist.
>Live, love & laugh.
>
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing
eta is not fit for general availability.
HTH
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
a oneliner
References:
http://en.wikipedia.org/wiki/Quine_(computing)
http://sqlite.org/lang_with.html
Enjoy!
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http:/
ned and reasonably up to date.
HTH
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
o wrap the statements in a transaction.
BEGIN;
DELETE FROM table1 WHERE ...;
DELETE FROM table2 WHERE ...;
COMMIT;
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi
.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
You can use one of the date formatting functions in your select
statement to change the presentation.
http://sqlite.org/lang_datefunc.html
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.o
N. I wouldn't worry about
it unless you are in a very fast real-time environment.
Premature optimization is the root of all evil.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
, thanks!
[Open]Solaris users may want to add:
CC += -D_XOPEN_SOURCE=500 -O2
to the Makefile.
For completeness, I also added target:
clean:
-rm sar sqlite3.o
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users
ailable in the online fossil repository,
http://www.sqlite.org/cgi/src/doc/trunk/README.md
The Makefile will tell you what sqlite3_analyzer is made of.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-
e cycle.
I'm afraid it is totally extinct by now, but you might be lucky.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
) NULLs are not a problem by themselves, they take hardly any storage
at all, ust the type indicator that every every row has for every
column.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.o
(a not null references T(a));
?
> insert into U values(4)
>
> and it works but i don't want to, because the value 4 is not in T.
> I've tried PRAGMA foreign_keys first, but it's the same.
Old version perhaps?
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
in the table
definition in an ON CONFLICT clause:
http://sqlite.org/lang_conflict.html
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
ery close:
http://www.sqlite.org/sar/doc/trunk/README.md
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
,...,colN=valN .
The WHERE cluase determines which rows are updated.
>Cheers.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
mId,personId,orderId)
VALUES
(1,3,4,0),(2,3,5,1),(3,7,4,1),(4,7,5,0);
or even:
REPLACE INTO TeamPersonTable
(tpId,teamId,personId,orderId)
VALUES
(1,3,4,0),(2,3,5,1),(3,7,4,1),(4,7,5,0);
http://www.sqlite.org/lang_insert.html
--
Groet, Cordialement, Pozdrawiam, Regards
egister map,
> to one of your posts ? Make sure we can see both the full
> error text and which line of code it's complaining about.
The error report was included, you just have to scroll down a bit more.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
ssed this sentence, but to be honest, it seems to be
> very confusing behaviour.
Perhaps http://www.sqlite.org/c3ref/next_stmt.html
is useful here.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
hidden, yet
accessible.
Without INTEGER PRIMARY KEY, the ROWID is still there, but it is hidden.
Check it with PRAGMA table_info(test);
You will see the id column, never a ROWID column.
I think this behaviour is consistent with
http://sqlite.org/lang_createtable.html#rowid
, and the naming you observ
2 databases to sqlite3.
sqlite3 is current and actively maintained / optimized.
Differences (as perceived almost 10 years ago):
http://knuyt.demon.nl/sqlite.org/version3.html
Release history:
http://knuyt.demon.nl/sqlite.org/changes.html
Hope this helps.
-
abases to sqlite3.
sqlite3 is current and actively maintained / optimized.
Differences (as perceived almost 10 years ago):
http://www.sqlite.org/version3.html
Release history:
http://www.sqlite.org/changes.html
Hope this helps.
--
Regards,
Kees Nuyt
___
ectories with backups, and an application
level synchronisation/recovery mechanism to reconstruct the main
database from the backup when needed.
--
Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
iple-quoting needed for
> .execute().
His follow-up article is nice too:
<http://sebastianraschka.com/Articles/2014_sqlite_in_python_tutorial.html>
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sql
On Mon, 14 Jul 2014 12:09:46 +0100, Simon Slavin <slav...@bigfraud.org>
wrote:
> On 14 Jul 2014, at 11:19am, Kees Nuyt <k.n...@zonnet.nl> wrote:
>
> > On Sun, 13 Jul 2014 18:00:59 +0100, Simon Slavin <slav...@bigfraud.org>
> > wrote:
> >
> >
ubt sqlite browser would be able to open an
encrypted SQLite database.
Hope this helps
--
Regards,
Kees Nuyt
>On Fri, May 9, 2014 at 6:05 PM, Simon Slavin <slav...@bigfraud.org> wrote:
>
>>
>> On 9 May 2014, at 1:23pm, Sky Meena <sky.me...@gmail.com> wrote:
>>
On Thu, 17 Jul 2014 13:06:36 +0530, Sky Meena <sky.me...@gmail.com>
wrote:
> how to set a password to open a sqlite db in sqlite browser
Answered in a different thread 2 minutes ago.
--
Regards,
Kees Nuyt
>On Thu, Jul 17, 2014 at 7:18 AM, RSmith <rsm...@rsw
>Kind regards,
>
>Miguel Fernandes
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
valid pointer, possibly by a programming error or
some form of memory (heap) corruption.
Try to run the program with a debugger to pinpoint the error.
--
Groet, Cordialement, Pozdrawiam, Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@s
On Fri, 8 Aug 2014 11:14:29 +0200, Giuseppe Costanzi
<giuseppecosta...@gmail.com> wrote:
>>>> sqlite3.sqlite_version
>'3.5.9'
Version 3.5.9 is more than 6 years old. A lot of optimizations
were introduced since that version. Please upgrade and try
again.
Talk at usenix 2014 Published on Sep 4, 2014 by USENIX
Association Videos
Somewhat related to the article drh recently wrote about using
sqlite as an application data store.
--
Regards,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
On Thu, 11 Sep 2014 23:49:22 +0200, Kees Nuyt <k.n...@zonnet.nl>
wrote:
> Today I bumped into a presentation about ordering and atomicity
> of filesystems that might interest you.
>
> https://www.youtube.com/watch?v=YvchhB1-Aws
Compliments for sqlite
st approximation to an
> answer, whether they understand the question or not.
>
> If such document already exists, could someone post a pointer ?
Sure, it's all available at
https://system.data.sqlite.org/
I think the material there covers most of the questions.
--
Groet,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
rtunity:
printf "PRAGMA page_size=bytes; VACUUM;\n" \
| sqlite3 benchmark.sqlar
>Eric
>
>References:
>
>http://sqlite.1065341.n5.nabble.com/Internal-v-External-BLOBs-td15515.html
>http://www.sqlite.org/intern-v-extern-blob.html
--
Groet,
Kees Nuyt
__
On Fri, 12 Sep 2014 23:23:39 +0100, Simon Slavin
<slav...@bigfraud.org> wrote:
>
>On 12 Sep 2014, at 10:33pm, Kees Nuyt <k.n...@zonnet.nl> wrote:
>
>> Sure, it's all available at
>> https://system.data.sqlite.org/
>>
>> I think the mater
en
database corruption can result. One should note that POSIX
advisory locking is known to be buggy or even unimplemented on
many NFS implementations (including recent versions of Mac OS X)
and that there are reports of locking problems for network
filesystems under Windows. Your best defense is to n
On Sat, 13 Sep 2014 00:55:23 +0200, Kees Nuyt <k.n...@zonnet.nl>
wrote:
> It works better on your local filesystem.
Perhaps you can configure (a partition on) the Seagate GoFlex as
an iSCSI target and configure an iSCSI initiator on the PC ?
A quick websearch on "seagate goflex i
RE x=(SELECT max(x) FROM t1);
3
4
--
Groet,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
.
> Is there anything I can do post export from the other database to change the
> values correctly?
Have a look at
http://sqlite.org/datatype3.html
"2.3 Column Affinity Behavior Example"
--
Groet,
Kees Nuyt
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
nts) VALUES ('$f',X'$(od -A n -t x1
$f|tr -d '\r\n\t ')');" | sqlite3 $d ; done
HTH
--
( Kees Nuyt
)
c[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
,contents BLOB);" | sqlite3 $d ; for f in yourfiles* ; do echo
"INSERT INTO Files (name,contents) VALUES ('$f',X'$(od -v -A n -t x1
$f|tr -d '\r\n\t ')');" | sqlite3 $d ; done
It might not be what you're looking for.
--
( Kees Nuyt
)
c[_]
___
s
ULT_* .
See the README file in the amalgamation tarball
http://www.sqlite.org/sqlite-autoconf-3070601.tar.gz
Note: Changing the defaults make your SQL less portable to other
SQLite instances.
--
( Kees Nuyt
)
c[_]
___
sqlite-users mailing list
hoice.
Or, if you prefer a GUI tool:
Install the Firefox web browser from
http://www.mozilla.com/en-US/firefox/new/
and add the SQLite manager add-on from
https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
I have no idea wether all that is compatible with Windows NT.
Windows XP and lat
: near line 8: foreign key constraint failed
INSERT INTO child SELECT s1 FROM source;
Error: near line 9: foreign key constraint failed
SELECT * FROM child;
--
( Kees Nuyt
)
c[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
e, karmic,
>of package firefox, now requires sqlite 3.7.xx, while the version
>installed on this system still is 3.6.16. Is that a problem?
On many platforms, firefox installs its own libsqlite3.so, e.g. in
/usr/lib/mps, so it doesn't require a specific system-wide sqlite3
version. I don't kno
and
calling sqlite3_reset().
This papge might be of interest for you:
http://www.sqlite.org/cvstrac/wiki?p=ScrollingCursor
--
( Kees Nuyt
)
c[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
On Sun, 29 May 2011 10:35:51 +1000, "Greg Keogh" <g...@mira.net>
wrote:
> I'm utterly gobsmacked by the poor performance of the
> inserts without a transaction around them.
It's a FAQ,
http://www.sqlite.org/faq.html#q19
explains the reasons quite clearly.
--
replayplease help me.
Reading the documentation at http://www.sqlite.org/docs.html will
give you more insight.
--
( Kees Nuyt
)
c[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
1 - 100 of 849 matches
Mail list logo