Re: [sqlite] How do you find out the names of the fields within a table?

2006-07-12 Thread Kees Nuyt
On Wed, 12 Jul 2006 19:05:51 +0100, you wrote: Hi, how can I find out the names of the fields within a given table? I've tried pragma table_info(test); but this brings back too much info, I just require the names as I'll be storing them in an array within my application. Your application

Re: [sqlite] finding the groups which have some sort of mising transaction

2006-07-20 Thread Kees Nuyt
BY docketno) WHERE opendoc = 0 What is the table structure? Jack -- ( Kees Nuyt ) c[_]

Re: [sqlite] temp_store=1 performance on Mac OS X vs. Windows

2006-07-26 Thread Kees Nuyt
with existing versions. True. Christian -- ( Kees Nuyt ) c[_]

Re: [sqlite] temp_store=1 performance on Mac OS X vs. Windows

2006-07-26 Thread Kees Nuyt
don't mention the settings / optimisations of the filesystems, nor the amount of memory the OS allows the filesystem for caching. At least in Windows, server and desktop versions have different optimisations. In my opinion this might make a significant difference. -- ( Kees Nuyt ) c[_]

Re: [sqlite] temp_store=1 performance on Mac OS X vs. Windows

2006-07-26 Thread Kees Nuyt
as possible about the 'correctness' ... -- ( Kees Nuyt ) c[_]

Re: [sqlite] Reading the same table from two threads

2006-07-26 Thread Kees Nuyt
. -- ( Kees Nuyt ) c[_]

Re: [sqlite] date data types

2006-08-04 Thread Kees Nuyt
. is there a way to do so? I've looked into the doc (for example, information_schema) but I found nothing which was working for me... Will PRAGMA table_info(tablename); do? thanks and regards, MF -- ( Kees Nuyt ) c[_]

Re: [sqlite] Query Execution speed.

2006-08-09 Thread Kees Nuyt
inner joins is better than one outer join - experiment - read the page about index usage - use EXPLAIN Many of these techniques are discussed on the sqlite site, it really pays off to try to read all of it. -- ( Kees Nuyt ) c[_]

Re: [sqlite] SQLite index Idea for DBF

2006-08-25 Thread Kees Nuyt
, or speed up the conversion process. Regards, Manzoor Ilahi -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] How to get version of an SQLIte file

2006-09-27 Thread Kees Nuyt
file tell you which file format it is. The file format doesn't change that often, so it can be compatible with several software versions. LordPhoenix PS : Sorry for my English I'm french and don't speak this language very often :) Many US citizens write worse English than you do ;) -- ( Kees

Re: [sqlite] How to get version of an SQLIte file

2006-09-28 Thread Kees Nuyt
On Thu, 28 Sep 2006 09:35:54 +0200, you wrote: Le Thu, 28 Sep 2006 00:01:08 +0200, Kees Nuyt [EMAIL PROTECTED] a écrit : The first 15 bytes of the sqlite database file tell you which file format it is. The file format doesn't change that often, so it can be compatible with several software

Re: [sqlite] Memory mapped db

2006-09-28 Thread Kees Nuyt
detailed explanation. http://www.sqlite.org/arch.html The page cache can be shared by mutiple daatabase connections: http://www.sqlite.org/sharedcache.html -- ( Kees Nuyt ) c[_] - To unsubscribe, send email

Re: [sqlite] PK and rowid

2006-10-11 Thread Kees Nuyt
separately. /citation ... Chetana. I hope this helps. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Helloo...

2006-10-12 Thread Kees Nuyt
On Thu, 12 Oct 2006 15:24:22 -0400, you wrote: PD: I think it could be implement in SQLite to but I dont know if it support UNION in selects... It does. http://www.sqlite.org/lang_select.html -- ( Kees Nuyt ) c

Re: [sqlite] [sqlite]: How does a transaction work

2006-10-13 Thread Kees Nuyt
) There are many more docs available in: http://www.sqlite.org/docs.html Enjoy! -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] How do i do this UPDATE in SQLite?

2006-10-15 Thread Kees Nuyt
= qty * (select price from historicalprice where historicalprice.itemid == salesrecord.itemid); {untested} It depends on the version if you can use this. thanks. Radzi. -- ( Kees Nuyt ) c[_] - To unsubscribe, send

Re: [sqlite] hexadecimal

2006-10-25 Thread Kees Nuyt
Hi Lloyd, On Wed, 25 Oct 2006 20:11:49 +0530, you wrote: Hi list, can I insert a hexadecimal value to an integer field? Yes. if yes How can do that? Convert it to an integer in your host language first. The X'hexstring' syntax is only for BLOBs. Thanks, Lloyd -- ( Kees Nuyt

Re: [sqlite] command-line shell handling of errors.

2006-10-26 Thread Kees Nuyt
any switch anyway. Your approach in the remarks of said ticket is right, in my view. Thank you for any abort-on-error solution and the beautiful, consistent product sqlite is! -- ( Kees Nuyt ) c[_] - To unsubscribe

Re: [sqlite] LEFT OUTER JOIN + INNER JOIN problem

2006-11-14 Thread Kees Nuyt
... Same here, MS Windows XP Pro, sqlite 3.3.8 -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Importing text file via .bat file

2006-11-15 Thread Kees Nuyt
filename |`` , but with less overhead. By the way, where's your primary key? Hope this helps, -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Importing text file via .bat file

2006-11-15 Thread Kees Nuyt
Cariotoglou (see http://www.sqlite.org/cvstrac/wiki?p=ManagementTools for a pointer), which even includes a query editor and a report generator. Nogmaals bedankt. Veel plezier! RBS -- ( Kees Nuyt ) c

Re: [sqlite] Importing text file via .bat file

2006-11-15 Thread Kees Nuyt
1; and detect the presence of the file signal.txt in your VBS script. Or do everything in your .bat (or better, .cmd). -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] select from commandprompt with output to file

2006-11-16 Thread Kees Nuyt
off sqlite SELECT '/table/body/html'; sqlite .q C:\DATA\opt\test -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Saving tables

2006-11-27 Thread Kees Nuyt
way: sqlite3 mydatabase.db3 HTH -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] semi corrupt db

2006-12-05 Thread Kees Nuyt
library. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Re: Unicode Help

2006-12-08 Thread Kees Nuyt
\x4C\x00\x45\x00\); exit 0} utf16LE.txt echo BOM for UTF-16 Big Endian awk BEGIN{printf(\\xFE\xFF\x00\x55\x00\x54\x00\x46\x00\x2D\x00\x31\x00\x36\x00\x42\x00\x45\); exit 0} utf16BE.txt EOF file initutf.cmd (tested, works with notepad.exe v5.1.2600.2180 Dutch) HTH -- ( Kees Nuyt ) c

Re: [sqlite] Operation is not allowed when the object is closed

2006-12-09 Thread Kees Nuyt
] - -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Operation is not allowed when the object is closed

2006-12-09 Thread Kees Nuyt
. If it doesn't raise an VBerror, you don't detect something is wrong. SQLiteConn.State will not equal slStateClosed but the error status, so the loops ends and you stop trying to open, without having opened the database. HTH -- ( Kees Nuyt ) c

Re: [sqlite] sqllite ddb from win to linux

2006-12-12 Thread Kees Nuyt
and then, open a new one in unix and import it. just thinking... - To unsubscribe, send email to [EMAIL PROTECTED] - -- ( Kees Nuyt ) c

Re: [sqlite] Re: File Syste

2006-12-13 Thread Kees Nuyt
to shoot yourself in the foot. http://www.sqlite.org/arch.html might be a good starting point for further research. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] sqllite ddb from win to linux

2006-12-13 Thread Kees Nuyt
. Which is very appropriate, but a bit modest ;) Oops, there's another link on http://www.sqlite.org/quickstart.html as well: Additional documentation is available here -- ( Kees Nuyt ) c

Re: [sqlite] GROUP BY in SQLite

2006-12-14 Thread Kees Nuyt
with the error: SQL error code = -104, invalid column reference Runs fine though in SQLite. Is this a known feature? I wouldn't call it a feature, and you'd better not rely on this behaviour. RBS HTH -- ( Kees Nuyt ) c

Re: [sqlite] Transpose table

2006-12-14 Thread Kees Nuyt
found a good replacement for and that is to transpose a table from a vertical layout to a horizontal one, snip -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] delayed (batch) transactions

2006-12-19 Thread Kees Nuyt
environment sqlite might not be a suitable solution. http://www.sqlite.org/whentouse.html -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] VB wrappers

2006-12-23 Thread Kees Nuyt
default_cache_size especially when you are building large indexes. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Creating a database from inside a program

2006-12-29 Thread Kees Nuyt
schemafile.txt contains valid SQLite statements, it should work. HTH -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Using sqlite.exe

2006-12-30 Thread Kees Nuyt
or .schema to check what's in there. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Using sqlite.exe

2006-12-30 Thread Kees Nuyt
on with my work now! You're welcome, good luck, have fun. Michael Hooker -Original Message- From: Kees Nuyt [mailto:[EMAIL PROTECTED] Sent: 30 December 2006 12:38 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Using sqlite.exe Make that C:\sqlite3\sqlite3.exe C:\sqlite3\BaseStation.sqb

Re: [sqlite] Re: How to optimize a select that gets 17 rows from a 700k row DB (via perl using DBI)?

2007-01-14 Thread Kees Nuyt
-- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Optimizing operations

2007-01-26 Thread Kees Nuyt
; Will make the cache size stick to the database, so you don't have to repeat it every time it is opened. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] UNIQUE constraint on column

2007-01-31 Thread Kees Nuyt
on yet another implementation specific API. Just my 2 cents. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Equivalent syntax?

2007-01-31 Thread Kees Nuyt
On Wed, 31 Jan 2007 18:31:20 -0500, you wrote: Is cast documented on the sqlite website? I couldn't find it. http://www.sqlite.org/lang_expr.html -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL

Re: [sqlite] Equivalent syntax?

2007-01-31 Thread Kees Nuyt
On Wed, 31 Jan 2007 17:30:29 -0500, you wrote: BTW, what is the concatenation operator? Standard SQL: string || string -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Function question

2007-02-01 Thread Kees Nuyt
be used in the command line program. I usually postprocess output by piping it through awk to solve these kinds of problems. sqlite3 databasefile sqlscript | awk -f trim.awk outfile jim HTH -- ( Kees Nuyt ) c

Re: [sqlite] Is there a SQLiteSpy-like thing that will let me change data from a grid?

2007-02-06 Thread Kees Nuyt
releases of this or not) -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Is there a SQLiteSpy-like thing that will let me change data from a grid?

2007-02-07 Thread Kees Nuyt
sqlite3explorer. I use it in combination with sqlite3.dll, version 3.3.12, without any problem. I downloaded it 2006-03-13 and it still works well. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL

Re: [sqlite] How do I get MATCH and REGEXP

2007-02-09 Thread Kees Nuyt
. The MATCH operator is a special syntax for the match() user function. The default match() function implementation raises and exception and is not really useful for anything. But extensions can override the match() function with more helpful logic. Regards, Rick van der Lans HTH -- ( Kees Nuyt

Re: [sqlite] Problem with .import

2007-02-10 Thread Kees Nuyt
? This is not a comma delimited values file like .import could process, but an SQL script. You can execute it like: sqlite3 databasefilename variable.sql Or from within sqlite3: sqlite .read variable.sql Rich -- ( Kees Nuyt ) c

Re: [sqlite] How do you combine two SQLite databases?

2007-02-17 Thread Kees Nuyt
, without intermediate file: sqlite3 database1 .dump | sqlite database3 sqlite3 database2 .dump | sqlite database3 See also: http://www.sqlite.org/sqlite.html Thanks! Hope this helps. -- ( Kees Nuyt ) c

Re: [sqlite] data type problem

2007-03-22 Thread Kees Nuyt
carefully (not contained in the collection of reserved words), the [] could easily be filtered out with sed or awk. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] PHP Code That Can Store and Retrieve Images

2008-03-12 Thread Kees Nuyt
type. Just my 0.02 -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Database corruption

2008-03-12 Thread Kees Nuyt
, DROPs and UPDATEs can damage your data as well. Best Regards, A. Sreedhar. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Inconsistency of Returned Field Names?

2008-03-12 Thread Kees Nuyt
] ASC; I agree it seems slightly inconsistent behaviour. [] around identifiers are not standard SQL. You would only need them (or double quotes, which is standard SQL) if you choose reserved words as identifiers. -- ( Kees Nuyt ) c[_] ___ sqlite

Re: [sqlite] PHP Code That Can Store and Retrieve Images

2008-03-12 Thread Kees Nuyt
On Wed, 12 Mar 2008 18:44:36 -, Bart wrote: Kees, Would you be interested to do a project for me for a fee? [..] Regards, Bart Smissaert Answered in private mail. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users

Re: [sqlite] PHP 4 and SQLite3

2008-03-12 Thread Kees Nuyt
capable PDO_sqlite for PHP4 (I doubt it, PHP4 practically reached end of life). best regards Giovanni Rossati -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Complex SELECT Syntax

2008-03-17 Thread Kees Nuyt
..e on I'm sure it is explained in a previous chapter, but you can always type .help in the command line tool. It recognizes commands as soon as it the first 1..N characters are unique. HTH -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list

Re: [sqlite] Malformed database schema with SQLite version 3.5.x

2008-03-20 Thread Kees Nuyt
as patching table pages by hex-editing the database file. Feel free to do it, but don't expect a safety net. Thanks again Marco -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman

Re: [sqlite] Malformed database schema with SQLite version 3.5.x

2008-03-21 Thread Kees Nuyt
error. Ok, I understand now. Thanks again Marco -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Where is the database file created?

2008-03-22 Thread Kees Nuyt
the magic filename :memory: refers to an in-memory database. Thanks Fred -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] [PHP] Compiling with latest SQLite?

2008-03-26 Thread Kees Nuyt
=php_pdo_sqlite_external.dll plus the current sqlite3.dll That works for me. php_pdo_sqlite_external.dll can be in the php/ext directory, as usual. You may have to copy sqlite3.dll to the apache/bin directory. Thank you. HTH -- ( Kees Nuyt ) c

Re: [sqlite] SQL error: SQL logic error or missing database

2008-03-27 Thread Kees Nuyt
ext3 tinyfilesystem somewhat similar to busybox file system ! If you had to port the sources to a new OS it is easy to make mistakes in the platform specific file I/O routines. They might not return the correct status. -- ( Kees Nuyt ) c

Re: [sqlite] When I try to .read I get a can't open message

2008-03-31 Thread Kees Nuyt
; can't open C:/_source/test.sql; Drop the semicolon, .read is not an SQL statement. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Windows XP, where should I place the Sqlite .DLL's for best Sqlite operation, for usage with other COM components?

2008-04-03 Thread Kees Nuyt
/ms682586.aspx -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] passing parameters in sql strings

2008-04-08 Thread Kees Nuyt
for instructions sqlite .schema CREATE TABLE test (id, nome, classe, istanza); sqlite .q HTH -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] speed for select statements

2008-04-18 Thread Kees Nuyt
return rows in the region of interest. i am having 6 records. Is there any other way to optimize. Have a look at http://www.sqlite.org/cvstrac/wiki?p=ScrollingCursor for how and why to optimize a scrolling list. Thanks Regards, Mahalakshmi -- ( Kees Nuyt ) c

Re: [sqlite] Recommended (Windows/Linux) SQLite utilities

2008-05-01 Thread Kees Nuyt
filename extension (.db3) with it. The command (wrapped by mail): path\firefox.exe -chrome chrome://sqlitemanager/content/sqlitemanager.xul mydb.db3 just doesn't do the trick. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] property/config file for SQLite

2008-05-02 Thread Kees Nuyt
is 42. Indeed. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Problems Using SQL Maestro's PHP Generator

2008-05-04 Thread Kees Nuyt
an SQLite version 2 database. You will have to convert your SQLite v3 database to SQLite v2 before uploading: sqlite3 .dump your.db3 | sqlite2 your.db2 And hope you didn't use SQL that SQLite v2 doesn't understand. -- ( Kees Nuyt ) c[_] ___ sqlite

Re: [sqlite] Autocommit .read inserts are so slow it must be a bug

2008-05-23 Thread Kees Nuyt
by applying the right PRAGMAs. http://www.sqlite.org/pragma.html#pragma_journal_mode http://www.sqlite.org/pragma.html#pragma_synchronous Thanks -- Morten Bjoernsvik, Oslo, Norway -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] Sqlite on RAM

2008-05-27 Thread Kees Nuyt
storage. The same happens in the SQLite command line tool if you do not use a database file name as a commandline parameter. In-memory databases created in this way disappear completely after sqlite3_close(), or after exit program, or after the .quit command in the command line tool. -- ( Kees Nuyt

Re: [sqlite] get the actual database size.

2008-05-30 Thread Kees Nuyt
of gaps in the page layout ); A wealth of information, really. sqlite3_analyzer is available on the download page http://www.sqlite.org/download.html . -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080

Re: [sqlite] If SQLite Encryption Extension (SEE) FIPS 140-2 compliant?

2008-06-06 Thread Kees Nuyt
information: http://csrc.nist.gov/groups/STM/cmvp/validation.html Thanks, Dan -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Sqliite Command for appending the data to file

2008-06-13 Thread Kees Nuyt
as well as table's columns name to the file. On one line: echo .headers on\n.separator ,\nselect 'myTable' as tablename,* from myTable; | sqlite3 databasefilename dataFile Thanks in advance, JP I hope this helps. -- ( Kees Nuyt ) c[_] ___ sqlite

Re: [sqlite] sqlite3 command line usage

2008-06-13 Thread Kees Nuyt
. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQL question

2008-06-16 Thread Kees Nuyt
binary_report_fmt where column_id = 3 order by column_id desc); but it only updates the last item. I guess I can make it a non- primary key..then it works perfectly. Gregor Add a large value to all column_id that have to be changed, then subtract that same value minus 1. -- ( Kees Nuyt

[sqlite] motd

2008-06-25 Thread Kees Nuyt
Small. Fast. Reliable. Choose any three == Small. Fast. Reliable. Free. Choose any four :) -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] How to connect the SQLite with DBDesigner4?

2008-06-30 Thread Kees Nuyt
. If DBDesigner can handle ODBC, you could try one of the SQLite_ODBC drivers. But that will not solve everything, as DBDesigner probably doesn't know the SQLite syntax. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] BUG in RTree ?

2008-07-20 Thread Kees Nuyt
, 'B', 20.0, 20.0); [snip] then every thing goes right. Am I doing something wrong ? I don't see any errors, I copied your code verbatim, only changed some indentation. Thanks in advance. Xevi -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing

Re: [sqlite] sqlite and referential integrity

2008-07-25 Thread Kees Nuyt
-- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Default text column values

2008-08-02 Thread Kees Nuyt
-- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Default text column values

2008-08-04 Thread Kees Nuyt
. David -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Updating same tables in attached databases.

2008-08-04 Thread Kees Nuyt
means conditional logic, testing for recordid range)? Thanks in advance. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Realtime backup of database

2008-08-06 Thread Kees Nuyt
, but probably feasible. Both methods only work if your schema is stable. I'm stuck with my problem so perhaps here is someone with a really clever idea. Sorry for my bad english, No problem, it's clear. greetings from hamburg, germany Till Greetings from Rotterdam, Netherlands. -- ( Kees Nuyt

Re: [sqlite] Creating Indexes

2008-08-06 Thread Kees Nuyt
/gmane.comp.db.sqlite.general/17286/match=managing+trees+database and http://www.sitepoint.com/article/hierarchical-data-database may help on maintaining trees in a relational database. Or search the net on Joe Celko and nested sets. -- ( Kees Nuyt ) c[_] ___ sqlite

Re: [sqlite] Creating Indexes

2008-08-06 Thread Kees Nuyt
On Wed, 6 Aug 2008 16:45:35 -0400, Jeffrey Becker wrote: On Wed, Aug 6, 2008 at 4:10 PM, Kees Nuyt [EMAIL PROTECTED] wrote: Additionally: NodeID and ParentID shouldn't be blobs. Integer is the most suitable type for IDs. The blobs I'm inserting are actually a binary representation designed

Re: [sqlite] about sqlite database

2008-08-07 Thread Kees Nuyt
ON jobs(TSN); CREATE TRIGGER jobs_ins AFTER INSERT ON jobs FOR EACH ROW BEGIN DELETE FROM jobs WHERE jobid (NEW.jobid - ); END; -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin

Re: [sqlite] Proposed removal of (mis-)feature

2008-08-07 Thread Kees Nuyt
agree (3) should be removed. If it would break any of my applications (which I doubt), I'll gladly repair it, because I would have done a bad job, not you. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org

Re: [sqlite] Error: malformed database schema - near )

2008-08-09 Thread Kees Nuyt
On Sat, 9 Aug 2008 09:21:07 +1200, you wrote: The second question is what can I do to prevent this problem occurring? Is the database shared over NFS? Do you use any dangerous PRAGMA, like PRAGMA synchronous = OFF; ? -- ( Kees Nuyt ) c

Re: [sqlite] is there a pragma to disable triggers?

2008-08-14 Thread Kees Nuyt
://www.sqlite.org/lang_createtrigger.html Regards, Marton I hope this helps. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Generic speed testing

2008-08-15 Thread Kees Nuyt
On Thu, 14 Aug 2008 13:25:56 -0700, you wrote: -- -- A LITTLE CLEANUP BEFORE WE CONTINUE -- DROP TABLE TEST1; I don't think you really want to drop TEST1. We'll need it later. -- ( Kees Nuyt ) c

Re: [sqlite] Generic speed testing

2008-08-15 Thread Kees Nuyt
of this box. Hint: For a genuinely level playing field you'd have to use more PRAGMAs, like page size and cache size. Defaults might be different in different environments. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] time to vacuum

2008-08-18 Thread Kees Nuyt
auto_vacuum = 0 | none | 1 | full | 2 | incremental; PRAGMA incremental_vacuum(N); http://www.sqlite.org/pragma.html#pragma_incremental_vacuum Thanks, Richard -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] pragma table_info on a table in attached db

2008-08-18 Thread Kees Nuyt
: PRAGMA [database.]table_info(table-name); Most other databse specific PRAGMAs support the databasealias. prefix, so does this one, although it isn't documented in http://www.sqlite.org/pragma.html#schema . Thanks, Mrinal. -- ( Kees Nuyt ) c

Re: [sqlite] pragma table_info on a table in attached db

2008-08-20 Thread Kees Nuyt
On Wed, 20 Aug 2008 06:33:17 +0530, Mrinal wrote: Try: PRAGMA [database.]table_info(table-name); ( Kees Nuyt Thankyou Kees for the solution yw. But, I am facing another problem [...] As Dennis said, that looks like a bug. I just confirmed SQLite 3.6.0 behaves the same way. Apparently

Re: [sqlite] pragma table_info on a table in attached db

2008-08-20 Thread Kees Nuyt
On Thu, 21 Aug 2008 02:18:39 +0530, Mrinal wrote: As Dennis said, that looks like a bug. Created a new ticket (number 3320: http://www.sqlite.org/cvstrac/tktview?tn=3320) which has been fixed now. Wow, that's fast. - Mrinal. -- ( Kees Nuyt ) c

Re: [sqlite] Reducing SQLite Memory footprint(!)

2008-08-23 Thread Kees Nuyt
; VACUUM; PRAGMA schema_version; 2 PRAGMA page_size; 1024 -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Reducing SQLite Memory footprint(!)

2008-08-25 Thread Kees Nuyt
. Perhaps there is an esential difference between your test program and the command line tool? -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Get transaction number

2008-08-26 Thread Kees Nuyt
to be identified by the missing commit logrecord, not by the presence of a rollback logrecord. Reason: In case of crashes you won't be able to log rollbacks, anyway, whereas SQLite will rollback using the journal the first time a new connection is made. Best regards, Alexey. -- ( Kees Nuyt ) c

Re: [sqlite] Convert the MAC address from integer to characters.

2008-09-12 Thread Kees Nuyt
On Fri, 12 Sep 2008 11:19:41 -0700 (PDT), you wrote: I am new to SQLite Since 51 weeks, to be exact ;) -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Virtual tables

2008-09-13 Thread Kees Nuyt
/realsqlserver/ -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

  1   2   3   4   5   6   7   8   >