RE: [sqlite] error

2007-11-22 Thread Dennis Povshedny
Hi! Place the limit clause at the end. select * from databaseentry where Sub="BarsandPubs" order by Button_Name limit 5; Regards, Dennis Xeepe Phone Solution Team http://en.xeepe.com mailto:[EMAIL PROTECTED] sip:[EMAIL PROTECTED] -Original Message- From: nishit sharma [mailto:[EMAIL

RE: [sqlite] select COUNT (DISTINCT column1, column2) from table?

2007-09-25 Thread Dennis Povshedny
Hi Phani! For your sample the following query will fit: select COUNT (DISTINCT year*12+month) FROM m If you take a look at EXPLAIN select COUNT (DISTINCT year*12+month) FROM m you will see that effectiveness is almost the same than in case of EXPLAIN select COUNT (DISTINCT year) FROM m and si

RE: [sqlite] Sharing an in-memory database between applications

2007-07-16 Thread Dennis Povshedny
Hi Rob! Maybe standard windows feature memory-mapping-file can help you? Regards Xeepe Phone Solution Team http://en.xeepe.com -Original Message- From: Rob Richardson [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 7:35 PM To: sqlite-users@sqlite.org Subject: [sqlite] Sharing a

RE: [sqlite] how to change SQLite column definition

2007-05-28 Thread Dennis Povshedny
AFAIK SQLite does not have such functionality. Please see http://sqlite.org/lang_altertable.html . So you have to do it in a bit more complicated way. Regards, Dennis Xeepe Phone Solution Team http://xeepe.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: M