Re: [sqlite] cancel query in sqlite

2008-12-28 Thread Kees Nuyt
p://www.sqlite.org/c3ref/interrupt.html I don't know What that is in the Delphi wrapper you use. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] using sqlite open two .db file at the same time

2008-12-25 Thread Kees Nuyt
e.org/arch.html >Thanks for help. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Sharing a database / Replication

2008-12-20 Thread Kees Nuyt
same definition in both db1 and db2 INSERT INTO db1.table1 SELECT * FROM db2.table1; (error handling) COMMIT; -- or ROLLBACK >Thanks, > Simon -- ( 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 load in file and outfile

2008-12-18 Thread Kees Nuyt
atabase .dump >dump.sql == Restore = C:\yourdir> sqlite3 newdatabase sqlite3 newdatabase sqlte> .read dump.sql sqlte> .quit >thanks Hope this helps. -- ( Kees Nuyt ) c[_]

Re: [sqlite] Sharing a database / Replication

2008-12-16 Thread Kees Nuyt
n CREATE tables semi-automatically using the CREATE TABLE SELECT ... syntax, but this has the disadvantage of not creating any indexes. http://www.sqlite.org/lang_createtable.html >Thanks in advance, > Simon -- ( Kees Nuyt ) c[_] ___ sqlit

Re: [sqlite] Impossible to declare field type BIGINT PRIMARY KEY

2008-12-15 Thread Kees Nuyt
a bit harder for generic wrapper libraries and database management tools. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Out of Memory issue with sqlite 3.5.4

2008-12-06 Thread Kees Nuyt
c/wiki?p=ScrollingCursor >Thanks for all your help, > >Regards, >Jay. You're welcome. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Usage of sqlite3_exec in VB6

2008-11-29 Thread Kees Nuyt
ny restriction on the number of fields in a database. >Please provide me the pointers to debug this issue. http://www.sqlite.org/c3ref/funclist.html http://www.sqlite.org/c3ref/exec.html >Thanks and Regards >Thiyags. HTH -- ( Kees Nuyt ) c[_] __

Re: [sqlite] Violating Primary key Constraint

2008-11-25 Thread Kees Nuyt
near line 5: table2.recid may not be NULL select * from table2; Which version do you use? >Regards, >Satish.G -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Multiple Process Notification

2008-11-23 Thread Kees Nuyt
te) VALUES (1,julianday('now')); END; Notes - Code is not tested. The on update and on delete triggers are left as an exercise to the reader. Alternatively, you can add an update timestamp column to every table and update that using a trigger, but that would not reflec

Re: [sqlite] Closing SQLite3 from script

2008-11-21 Thread Kees Nuyt
very well, but don't close SQLite >and the batch can't continue. >I have used .quit .exit .q but don't work and can't find >an answer on an internet search. Try like this: sqlite3 mydb.db3 Best regards. > >Juan M. Perez -- ( Kees Nuyt ) c[_] _

Re: [sqlite] SQLite file security

2008-11-20 Thread Kees Nuyt
ram(they can open my SQLite file). So, he has two issues. The second issue was discussed a lot already. My point was about [1]: anyone with write access to the databasefile can corrupt it, encrypted or not. >-Shibu -- ( Kees Nuyt ) c[_] ___ sqlite-users

Re: [sqlite] Problems using AUTOINCREMENT row IDs in indexes

2008-11-20 Thread Kees Nuyt
ARY KEY, ... ); , ID is used as / identical with ROWID. Note: Use the exact words: INTEGER PRIMARY KEY >Christophe Leske HTH -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite file security

2008-11-19 Thread Kees Nuyt
curity > >Plz provide me best solution to provide security to my database without any >Data loss. Use ACL. Run the application in an account that has access to the file, Refuse access to all other accounts. >Regards, > >Satish.G -- ( Kees Nuyt ) c[_] __

Re: [sqlite] Sqlite 3.6.4 performance improvement

2008-11-19 Thread Kees Nuyt
compile.html http://www.sqlite.org/optoverview.html http://www.sqlite.org/pragma.html -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] about encrypting

2008-11-19 Thread Kees Nuyt
n encrypted database and then how to open it. > >If somebody can bring me any idea i papreciate it. thanks. HTH -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Non-exclusive reserved lock?

2008-11-15 Thread Kees Nuyt
On Sat, 15 Nov 2008 02:32:21 -0800, Roger Binns <[EMAIL PROTECTED]> wrote in General Discussion of SQLite Database <sqlite-users@sqlite.org>: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Kees Nuyt wrote: >> I assume the OP wants to collect updates from mor

Re: [sqlite] hierarchical queries

2008-11-09 Thread Kees Nuyt
e.com/oracle/or-articles/tropashko4 http://www.developersdex.com/gurus/articles/112.asp >Thanks for your help. > >Sébastien Roux -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] .dump often fails silently

2008-11-08 Thread Kees Nuyt
ion of error messages, but at least it aborts the sql script at the first error it encounters. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] offical full list of valid data types?

2008-11-04 Thread Kees Nuyt
sourceforge.net/viewvc/sqlite-dotnet2/SQLite.NET/Doc/ Questions are best asked in the forum in the link you provided. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] offical full list of valid data types?

2008-11-04 Thread Kees Nuyt
es CHAR/CLOB/VARCHAR/TEXT/BLOB all support > size definition? let's say CHAR(50), VARCHAR(100), > TEXT(200), BLOB(500) etc? Yes, syntactically they do, but the size definition is simply ignored. If you want strict typing, you will have to add that l

Re: [sqlite] converting mdb to sqlite using mdbtools

2008-10-25 Thread Kees Nuyt
the note on http://www.sqlite.org/cvstrac/wiki?p=ConverterTools >which says >Note: I don't think it supports SQLite right now, but this project can >be continued and used for that purpose. > >to point to my article It's a wiki, you can edit it yourself. Click the [Edit] link in the bar be

Re: [sqlite] CURRENT_DATE Behavior

2008-10-20 Thread Kees Nuyt
lize all >such fields explicity if I would like to set it to the current date in my >particular time zone? Instead of using DEFAULT you can create an ON INSERT trigger that sets any column to any value you wish. Or you could modify the SQLite source to sui

Re: [sqlite] UPDATE statement with several tables

2008-10-20 Thread Kees Nuyt
> >Does anybody kows if there is any plan for enhancing Sqlite's UPDATE >statement in this direction ? > >Thank's > >Jean-Marie There might be a workaround: Create an updateble view and UPDATE that view. An updateble view is a view plus an INSTE

Re: [sqlite] SqLite Report Generator For Windows

2008-10-20 Thread Kees Nuyt
ng http://www.sqlite.org/cvstrac/wiki?p=ManagementTools Good luck. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Exporting to MySQL?

2008-10-08 Thread Kees Nuyt
Y KEY AUTOINCREMENT, name >TEXT); >COMMIT; I think MySQL uses AUTO_INCREMENT. You will have to dive into the documentation to make sure. A mailing list is not a manual lookup service. >Thank you. -- ( Kees Nuyt ) c[_] ___ sqlite-users

Re: [sqlite] Does sqlite caches data to speed up transaction

2008-09-29 Thread Kees Nuyt
seek in the file(seek value is simply calculated as index*size_of_structure) >3) read >4)close file > >In this case file is opened once and only steps 2 & 3 need to >perform for reading data and this is 10 times faster than sqlite. > >Thanks & Regards >Dev

Re: [sqlite] Does sqlite caches data to speed up transaction time?

2008-09-29 Thread Kees Nuyt
at modifies the database (INSERT, UPDATE, DELETE) in a transaction (BEGIN / COMMIT). http://www.sqlite.org has more on performance optimisation. It's also interesting to read about its architecture. > or only relies on OS caching? The OS cache comes on top of the internal cache.

Re: [sqlite] Specifing which index to use. Was: Performance/bug in multikey 'group by' in 3.6.2

2008-09-26 Thread Kees Nuyt
on DRH >suggests is perfect for my needs. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Slow Query with LEFT OUTER JOIN

2008-09-23 Thread Kees Nuyt
On Tue, 23 Sep 2008 14:37:11 -0400, Enrique Ramirez wrote: >On Tue, Sep 23, 2008 at 1:16 PM, Kees Nuyt <[EMAIL PROTECTED]> wrote: >> Steps to take (you need all of them, except 1): >> >> 1) Use v6.2.3 >> > >Probably meant to say 1) Use v3.6.2? Oops, ye

Re: [sqlite] Slow Query with LEFT OUTER JOIN

2008-09-23 Thread Kees Nuyt
SELECT ... JOIN UNION SELECT ... in a SELECT DISTINCT to get unique results. 8) You probably don't use 'abc' but some variable in your host language. Due to 2) and 3) you will have to lower case your search expre

Re: [sqlite] .import multi-line record from a text file to a table

2008-09-20 Thread Kees Nuyt
g xml supported in sqlite >(I did not see it from the documentation)? No, it isn't. Perhaps Tcl can do it, or xgawk. > thank you > > Qianqian -- ( 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
sqlabs.net >http://www.sqlabs.net/blog/ >http://www.sqlabs.net/realsqlserver/ -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

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] Get transaction number

2008-08-26 Thread Kees Nuyt
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[_] ___ 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
e_size; 8192 sqlite> select count(*) from blob; 3374 sqlite> .q \research>dir tmp\fossil 2008-08-25 23:43 4.775.936 fossil So, it works. Perhaps there is an esential difference between your test program and the command line tool? -- ( Kees Nuyt ) c[_] ___

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

2008-08-23 Thread Kees Nuyt
PRAGMA page_size=1024; 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] 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. --

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 SQL

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

2008-08-18 Thread Kees Nuyt
? Or is it planned in some future version? Try: 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 . >Thank

Re: [sqlite] time to vacuum

2008-08-18 Thread Kees Nuyt
ively, you can use PRAGMA 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

Re: [sqlite] Generic speed testing

2008-08-15 Thread Kees Nuyt
ueeze more performance out 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 mai

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. -- (

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

2008-08-14 Thread Kees Nuyt
UPDATE OF column-list http://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] 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

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

2008-08-07 Thread Kees Nuyt
of this matter? I 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@

Re: [sqlite] about sqlite database

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

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 i

Re: [sqlite] Creating Indexes

2008-08-06 Thread Kees Nuyt
thing like that. > >-Steve Additionally: NodeID and ParentID shouldn't be blobs. Integer is the most suitable type for IDs. http://article.gmane.org/gmane.comp.db.sqlite.general/17286/match=managing+trees+database and http://www.sitepoint.com/article/hierarchical-data-database may

Re: [sqlite] Realtime backup of database

2008-08-06 Thread Kees Nuyt
hamburg, germany >Till Greetings from Rotterdam, Netherlands. -- ( 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
t update a join 2- you can't define a trigger over main and attached databases > once for foo, and also for > db2.foo (which 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] Default text column values

2008-08-04 Thread Kees Nuyt
might work for you. >Thanks for you help. > >David -- ( 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
mp|0.0|NotSet|Kitchen|False 2008-08-02 18:33:13|5|S5|Temp|293.5|K||False >David Goadby -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] sqlite and referential integrity

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

Re: [sqlite] BUG in RTree ?

2008-07-20 Thread Kees Nuyt
INSERT INTO GEO_TEST(FID, NAME, E_UTMX, E_UTMY) VALUES (2, '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. &

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

2008-06-30 Thread Kees Nuyt
e already mentioned, SQLite is not a server. 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 l

[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] SQL question

2008-06-16 Thread Kees Nuyt
ged, then subtract that same value minus 1. -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] sqlite3 command line usage

2008-06-13 Thread Kees Nuyt
, enclose all command between one pair of double quotes and use \n as a newline between commands. Or use the solution of Simon Davies. -- ( 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
you know the way to append the data to the file > and print the tablename 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 &

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

2008-06-06 Thread Kees Nuyt
e general 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] get the actual database size.

2008-05-30 Thread Kees Nuyt
t, -- Number of unused bytes on overflow pages gap_cnt int -- Number 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[_]

Re: [sqlite] Sqlite on RAM

2008-05-27 Thread Kees Nuyt
acked by disk 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.

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

2008-05-23 Thread Kees Nuyt
tion there are several fsync() calls to the operating system to flush buffers of both journal and database to disk. See the documentation for more details. http://www.sqlite.org/atomiccommit.html If you don't care about SQLites ACID features you can avoid some dela

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

2008-05-04 Thread Kees Nuyt
the webspace probably expects 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. --

Re: [sqlite] property/config file for SQLite

2008-05-02 Thread Kees Nuyt
ail: [EMAIL PROTECTED] >The answer 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] Recommended (Windows/Linux) SQLite utilities

2008-05-01 Thread Kees Nuyt
script, or associate my preferred sqlite3 filename extension (.db3) with it. The command (wrapped by mail): \firefox.exe -chrome chrome://sqlitemanager/content/sqlitemanager.xul mydb.db3 just doesn't do the trick. -- ( Kees Nuyt ) c[_] ___ sqlit

Re: [sqlite] speed for select statements

2008-04-18 Thread Kees Nuyt
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[_] ___ 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
" | sqlite3 test.db $ sqlite3 test.db SQLite version 3.5.7 Enter ".help" for instructions sqlite> .schema CREATE TABLE test (id, nome, classe, istanza); sqlite> .q HTH -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sq

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
s/library/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] When I try to .read I get a "can't open" message

2008-03-31 Thread Kees Nuyt
l; >can't open "test.sql;" >sqlite> .read C:/_source/test.sql; >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] SQL error: SQL logic error or missing database

2008-03-27 Thread Kees Nuyt
t;Moreover I am using 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. --

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

2008-03-26 Thread Kees Nuyt
ive is: extension=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 --

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

2008-03-22 Thread Kees Nuyt
isk database, whereas 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] Malformed database schema with SQLite version > 3.5.x

2008-03-21 Thread Kees Nuyt
B anymore, due to the >malformed schema 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] Malformed database schema with SQLite version > 3.5.x

2008-03-20 Thread Kees Nuyt
lem until you create your own problem by using undocumented, unsupported backdoors. Consider it the same 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[_]

Re: [sqlite] Complex SELECT Syntax

2008-03-17 Thread Kees Nuyt
on >..w 20 17 6 23 6 >..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[_] ___

Re: [sqlite] PHP 4 and SQLite3

2008-03-12 Thread Kees Nuyt
is a SQLite3 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/ma

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

Re: [sqlite] Inconsistency of Returned Field Names?

2008-03-12 Thread Kees Nuyt
FROM CategoriesContent WHERE new = 1 ORDER BY categoryIndex ASC; SELECT DISTINCT [categoryIndex] AS catindex FROM CategoriesContent WHERE [new] = 1 ORDER BY [categoryIndex] ASC; I agree it seems slightly inconsistent behaviour. [] around identifiers are not standard SQL.

Re: [sqlite] Database corruption

2008-03-12 Thread Kees Nuyt
urse, incorrect SQL INSERTs, DELETEs, 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] PHP Code That Can Store and Retrieve Images

2008-03-12 Thread Kees Nuyt
works for every value 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] Odd problem with select on large table

2008-03-07 Thread Kees Nuyt
or echo "select name from PerfTest1 where name = 'key5000' " | sqlite3 test.db -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Most widely deployed?

2008-02-21 Thread Kees Nuyt
dd-ons can use it as well! And there's an FireFox extension, SQLite Manager, that offers an SQLite GUI tool. http://sqlitemanager.mozdev.org/ -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] which is faster, PHP or SQLite?

2008-02-18 Thread Kees Nuyt
than will fit on one index page, and you probably want the users to be able to jump to the next page, this page might be of interest for you: http://www.sqlite.org/cvstrac/wiki?p=ScrollingCursor -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing lis

Re: [sqlite] Quoting identifier vs literal (was: Version 3.2.2)

2008-02-09 Thread Kees Nuyt
version still behaves like that). No need to file a ticket, it has been repaired today: http://www.sqlite.org/cvstrac/chngview?cn=4781 -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Quoting identifier vs literal (was: Version 3.2.2)

2008-02-09 Thread Kees Nuyt
a bug. You could open a bug ticket for it (after checking the most recent version still behaves like that). -- ( Kees Nuyt ) c[_] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Retrieving column names?

2008-02-04 Thread Kees Nuyt
he names I use internally. col1namecol2name' ?> You could fetch the column names from a 'dictionary' table in your database: CREATE TABLE Friendlynames ( tablenmTEXT NOT NULL, columnnm TEXT NOT NULL, friendlynm TEXT NOT NULL, PRIMARY KEY (tablenm,columnnm) ); >

Re: [sqlite] |2.8.17] How to compile on Linux?

2008-01-28 Thread Kees Nuyt
atter case, you may have to copy libsqlite3.so to the apache/bin directory. PDO is getting quite popular, not only for sqlite, but also for other database engines. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] [Linux + PHP] Recommended way to access SQLite?

2008-01-15 Thread Kees Nuyt
CHAR(4) 0 0 2jobprio INTEGER 0 9 0 3status CHAR(1) 0 'W' 0 4userid VARCHAR(8) 990 etc. The columns of this resultset have metadata, just like a normal resultset. Te

Re: [sqlite] SQL error: database disk image is malformed

2008-01-14 Thread Kees Nuyt
Hi Jose, On Sun, 13 Jan 2008 23:47:04 -0500, "jose isaias cabrera" <[EMAIL PROTECTED]> wrote: >"Kees Nuyt" trying to help me said... > >> On Fri, 11 Jan 2008 15:32:28 -0500, "jose isaias cabrera" >> <[EMAIL PROTECTED]> wrote: >>

Re: [sqlite] SQLite --> PostGres

2008-01-11 Thread Kees Nuyt
in of a 'true' relational database engine, just like other constraints ('data domain integrity'). That's because I think a database table should be thought of as a relation, or a set, not a file. Similarly a database is more than a file cabin

Re: [sqlite] SQL error: database disk image is malformed

2008-01-11 Thread Kees Nuyt
the operating system? Is your database on a network share / NFS / SAMBA drive, and if so, is the filelocking of your filesystem fail proof? Or do you use a server layer that connects your users to the database? Does your application handle exceptions properly? -- ( Kees Nuyt ) c[_]

Re: [sqlite] Syntax for Multi-table Join

2008-01-10 Thread Kees Nuyt
f.comp=v.comp_name AND f.subcomp=v.subcomp_name); HTH -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] "always-trim" - feature suggestion

2008-01-09 Thread Kees Nuyt
sidered rude (my girlfriend is Latvian from Russian parents, so I have some experience with this kind of culture shock). We can't expect all posters here to conform to Western European or USAn habits. -- ( Kee

Re: [sqlite] "always-trim" - feature suggestion

2008-01-09 Thread Kees Nuyt
ifficult to build your own sqlite3_bind_trimmedtext(). I usually delegate the data-validation and -massaging to the application level. -- ( Kees Nuyt ) c[_] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Suppress auto index

2008-01-09 Thread Kees Nuyt
track of AUTOINCREMENT keys. >Is it possible to instruct SQLite not to create any auto >indices for the tables I create? If so, how? Change your schema. >Thanks and Regards, >Yuva HTH -- ( Kees Nuyt ) c[_]

Re: [sqlite] User defined functions and SQL Expressions

2008-01-08 Thread Kees Nuyt
Lite into thinking this is a numerical expression ( + ) of which the outcome is zero, because from a numerical viewpoint all the terms have value zero. In other words: The contatenation operator is || , not +. -- ( Kees Nuyt ) c[_] ---

Re: [sqlite] no mention of SQLite :(

2008-01-07 Thread Kees Nuyt
TECTED] " > >I've never posted on eWeek before so this is upsetting. > >Sam The message is confusing, they mean to say you have to register to post there. Once you register and login, posting is enabled. -- ( Kees Nuyt ) c[_]

Re: [sqlite] Trying to use SQLite3 with PHP5....

2008-01-04 Thread Kees Nuyt
On Fri, 04 Jan 2008 18:16:29 +, [EMAIL PROTECTED] wrote: >Kees Nuyt <[EMAIL PROTECTED]> wrote: >> >> There are two flavours of PDO_sqlite: >> >> * php_pdo_sqlite >> Has SQLite linked in. Depending on your Linux distribution >> and/or your

<    2   3   4   5   6   7   8   9   >