[sqlite] sort by in Sqlite

2009-08-05 Thread Kalyani Phadke
CREATE TABLE ABCD ( ID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT , Name VARCHAR ( 50 ) NULL ) Table ABCD has following data:- ID Name 1 Test 2 test 3 aaa My query "select Name from ABCD order by Name" The expected result aaa Test test but I am getting

[sqlite] How to find the version of the database.

2009-06-26 Thread Kalyani Phadke
Is there any way to find the version of SQlite3 database. eg. I have test.DB file . I want to know which SQLite3 version its using ..eg 3.5.4 or 3.6.15? Thanks, -K ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue

2009-06-17 Thread Kalyani Phadke
Hipp Sent: Tuesday, June 16, 2009 12:23 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue On Jun 16, 2009, at 3:10 PM, Kalyani Phadke wrote: > But before entering the bug , I would like to find out how this > happened.

Re: [sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue

2009-06-16 Thread Kalyani Phadke
y, June 16, 2009 12:23 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue On Jun 16, 2009, at 3:10 PM, Kalyani Phadke wrote: > But before entering the bug , I would like to find out how this > happened. Whats the cause of

Re: [sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue

2009-06-16 Thread Kalyani Phadke
-users-boun...@sqlite.org] On Behalf Of D. Richard Hipp Sent: Tuesday, June 16, 2009 12:02 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue On Jun 16, 2009, at 2:53 PM, Kalyani Phadke wrote: > I am using sqlite version 3.6.1

[sqlite] Sqlite3 database upgrade from 3.5.4 to 3.6.15 issue

2009-06-16 Thread Kalyani Phadke
I am using sqlite version 3.6.15.I upgraded my database from sqlite 3.5.4 to 3.6.15. I am not able to open database from sqlite3.exe cmd utility . I can do sqlite3.exe test.DB but if type .database ,it gives me error malformed database schema. pragma integrity_check , gives error malformed

[sqlite] SQLIte Related

2009-05-07 Thread Kalyani Phadke
How can I see time required to run the query using Sqlite3.exe command line utility? Is there any way to check if indexes are being used while running the query and its not doing table scan. I am trying to optimize the following query SELECT ID, EventClassName, EventClassRef, TransitionTime,

Re: [sqlite] Large SQLite3 Database Memory Usage

2009-05-05 Thread Kalyani Phadke
Database' Subject: Re: [sqlite] Large SQLite3 Database Memory Usage Are you using ADO or plain sqlite dll ? May this be a leak in your provider ? -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kalyani Phadke Sent: terça-feira

Re: [sqlite] Large SQLite3 Database Memory Usage

2009-05-05 Thread Kalyani Phadke
I am running the query with CursorLocation = 2, CursorType = 2, LockType = 3 to handle 610MB database with 2259207 records in table. -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kalyani Phadke Sent: Tuesday, May 05

Re: [sqlite] Large SQLite3 Database Memory Usage

2009-05-05 Thread Kalyani Phadke
growing and reaches nearly 100% ..then I get more hard page faults , the application responds slow, or system just hangs. -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kalyani Phadke Sent: Tuesday, May 05, 2009 11:25 AM

Re: [sqlite] Large SQLite3 Database Memory Usage

2009-05-05 Thread Kalyani Phadke
Thanks for your response. The query runs faster than mine but still facing problem after running the page multiple times.So I think I should try with 1GB of RAM. Thanks, -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of

Re: [sqlite] Large SQLite3 Database Memory Usage

2009-05-05 Thread Kalyani Phadke
and not the WebServer? Do you have an index on Events.NotificationTime ? --- On Tue, 5/5/09, Kalyani Phadke <kpha...@deltacontrols.com> wrote: > From: Kalyani Phadke <kpha...@deltacontrols.com> > Subject: [sqlite] Large SQLite3 Database Memory Usage > To: sqlite-users@sqlite.org > Da

[sqlite] Large SQLite3 Database Memory Usage

2009-05-05 Thread Kalyani Phadke
I have 2259207 records in table using SQLite3 database. I am running the select query to retrive records from DB SELECT ID, EventClassName, EventClassRef, TransitionTime, Message, MonitoredRef, EventRef,ToState,Priority,Acked from Events WHERE Events.NotificationTime >= {ts '2009-05-04

[sqlite] sqlite performance tuning and optimization

2009-04-30 Thread Kalyani Phadke
I am using SQLIte3 database and my query is running slow sometimes,sometimes it runs fast. Is there any sqlite Profiler available just like SQL Profiler for SQL server? My query looks like "SELECT ID, EventClassName, EventClassRef, TransitionTime, Message, MonitoredRef,

[sqlite] Special Character Problem

2009-04-27 Thread Kalyani Phadke
I am trying to insert the following data into my SQLite3 database using SQLIte3 ODBC driver (version .77) Russian AV4 èçîáðàæåíè$ Russian AV4 èçîáðàæåíèÿ (13.0) has returned to normal Ïðåçèäåíò Ãðóçèè Ìèõàèë Ñààêàøâèëè ïðèçíàë, ÷òî èìåííî îí îòäàë ïðèêàç î íà÷àëå âîåííîé îïåðàöèè â

[sqlite] Retrieve Rownumber in sqlite

2008-02-29 Thread Kalyani Phadke
In SQL Server2005, Row_number() function is used to retrieve the sequential number of a row within a partition of a result set, starting at 1 for the first row in each partition. Which is very useful when implementing paging through a large number records in Table. Is there any function available

Re: [sqlite] SQLite Like Query Optimization

2008-02-19 Thread Kalyani Phadke
qlite] SQLite Like Query Optimization "Kalyani Phadke" <[EMAIL PROTECTED]> wrote: > I have not recompiled sqlite 3 before. I am having trouble to find > documentation. > > Could anyone pls tell me how can I compile SQLite3 source code on > windows xp machine. Do I need t

Re: [sqlite] SQLite Like Query Optimization

2008-02-18 Thread Kalyani Phadke
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of P Kishor Sent: Monday, February 18, 2008 11:10 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] SQLite Like Query Optimization On 2/18/08, Kalyani Phadke <[EMAIL PROTECTED]> wrote: > I

Re: [sqlite] SQLite Like Query Optimization

2008-02-18 Thread Kalyani Phadke
Suppose User typed 'test' in search text box, I would like to search the 'test' string in all the coulmns ... I do not want exact match.. The columns could contain strings like 'tester' or 'tested' . I should be able to get these records as well.. Hope I am clear explaining what I want..

[sqlite] SQLite Like Query Optimization

2008-02-15 Thread Kalyani Phadke
I am using Sqlite 3 as my database. One of my table contains 1280010 rows. Db file size is 562,478KB. I am running DB on Windows XP pro-P4 CPU 3.20GHz 3.19Hz ,2.00GB of RAM ) CREATE TABLE TableA ( ID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, column1 VARCHAR (50) NOT NULL,

[sqlite] Default Encoding In Sqlite

2007-12-14 Thread Kalyani Phadke
Whats default encoding in SQLite3 ? How does SQLite3 handles storing Japanese/Chinese text in database? I know in SQL express/sql server I have to use nVarchar/nchar/ntext datatypes to store Japanese/Chinese text in database. It seems that in SQLite3 column having text datatype can also store

RE: [sqlite] Re: Insert chinese characters in SQLite database

2007-12-13 Thread Kalyani Phadke
] Re: Insert chinese characters in SQLite database Kalyani Phadke wrote: > The following query inserts into the database > > Cmd1 .Parameters.Append(Cmd1 .CreateParameter("ipaddress", > adLongVarChar, adParamInput, 50, ipaddress)) Try adLongVarWChar for parameter

[sqlite] Insert chinese characters in SQLite database

2007-12-13 Thread Kalyani Phadke
Table CREATE TABLE [Test2] ( [ipaddress] INTEGER, [Name] text ) The following query works fine Set Cmd1 = Server.CreateObject("ADODB.Command") Cmd1 .ActiveConnection = AuditLogConnection Cmd1 .CommandText = "INSERT INTO Test2(ipaddress, name) VALUES ('192.168.1.1' ,

[sqlite] Special characters handling in SQLite Like Query

2007-11-05 Thread Kalyani Phadke
If I have data as follows, they wont show up when I try to search for them.=20 [[[ ]]]=20 [EMAIL PROTECTED]&*=20 ()_+|{}:=14<>?=20 -=3D\[];',./=20 @@@ %%%=20 ### ^^^=20 ___---=20 Ho_mer=20 [EMAIL PROTECTED]&*()_+|`{}:=14<>?-=3D\[];=12,./=20 _Storage-Room=20 @ # $=20 _ - +=20 % ^ &=20