Re: [sqlite] iterating over all rows in a table

2003-11-26 Thread Will Leshner
On Nov 26, 2003, at 8:12 PM, William M. Droste wrote: SELECT * FROM tbl LIMIIT 1 OFFSET 13; http://www.sqlite.org/lang.html#select for more info. Yes. That is exactly what I'm looking for. Thank you very much. - To unsubscribe,

Re: [sqlite] iterating over all rows in a table

2003-11-26 Thread William M. Droste
SELECT * FROM tbl LIMIIT 1 OFFSET 13; http://www.sqlite.org/lang.html#select for more info. Regards, Will On Wed, 2003-11-26 at 13:29, Will Leshner wrote: > Hi. I'm sorry if this is really basic, but I'm wondering if there is a way to query > a table based on row number and not rowid. In other

Re: [sqlite] .NET sqlite wrapper

2003-11-26 Thread Richard Heyes
> Have you placed it on the wiki yet. I added a .NET section with three other > native .NET wrappers for SQlite? > You should place an entry there if you haven't yet. > http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers Ok have done. The wrapper is available here: http://www.phpguru.org/SQLite.

Re: [sqlite] iterating over all rows in a table

2003-11-26 Thread Derrell . Lipman
Will Leshner <[EMAIL PROTECTED]> writes: > Hi. I'm sorry if this is really basic, but I'm wondering if there is a way to > query a table based on row number and not rowid. In other words, I'd like to > be able to ask for row number 13 regardless of what its rowid might be. I'm > happy to write my

Re: [sqlite] Is case sensitivity a problem for me only?

2003-11-26 Thread Darren Duncan
Pavel said: >Hi, all. >Traditionally, SQL databases are case insensitive, or at least have an >option to behave this way. Sqlite is case sensitive and this fact is >introduced in a lot of places in sources. Having case-insensitive >sorting and matching seem to be extremely useful thing to me (in >b

[sqlite] iterating over all rows in a table

2003-11-26 Thread Will Leshner
Hi. I'm sorry if this is really basic, but I'm wondering if there is a way to query a table based on row number and not rowid. In other words, I'd like to be able to ask for row number 13 regardless of what its rowid might be. I'm happy to write my own function in C if anybody has any suggestions.

[sqlite] DBD::SQLite::db do failed: SQL logic error or missing database at E:\sql.pl

2003-11-26 Thread du4mi
Hello sqlite-users I'm using DBD-SQLite 2.8.6 on WindowsXP SP1 ActiveState Perl 5.8.0. I can't vacuum database from script. I get following error: DBD::SQLite::db do failed: SQL logic error or missing database at E:\sql.pl my Perl-script: use DBI; my $dbh = 'DBI'->connect('dbi:SQLite:dbname=sq

Re: [sqlite] sqlite_encode_binary missing from win release

2003-11-26 Thread D. Richard Hipp
Michael Hunley wrote: At 10:49 AM 11/26/2003 -0500, you wrote: encode.c is intentionally omitted from the pre-formated C files. You can get a copy from: http://www.sqlite.org/cvstrac/getfile/sqlite/src/encode.c?v=1.9 Thanks. Forgive me if this is a stupid question, but how do I get the match

Re: [sqlite] sqlite_encode_binary missing from win release

2003-11-26 Thread D. Richard Hipp
Michael Hunley wrote: I downloaded the windows released source (the pre-formatted C files) to write a test app. Based on the FAQ I looked for the encode and decode functions, but could not find the encode.c file or those functions anywhere. Have they been purposefully removed? The online docs

[sqlite] sqlite_encode_binary missing from win release

2003-11-26 Thread Michael Hunley
I downloaded the windows released source (the pre-formatted C files) to write a test app. Based on the FAQ I looked for the encode and decode functions, but could not find the encode.c file or those functions anywhere. Have they been purposefully removed? The online docs do not mention them,

[sqlite] Is case sensitivity a problem for me only?

2003-11-26 Thread Pavel Perikov
Hi, all. Traditionally, SQL databases are case insensitive, or at least have an option to behave this way. Sqlite is case sensitive and this fact is introduced in a lot of places in sources. Having case-insensitive sorting and matching seem to be extremely useful thing to me (in business domain w

Re: [sqlite] database in memory

2003-11-26 Thread Kurt Welgehausen
Read carefully, or use cut-and-paste. {;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[sqlite] database in memory

2003-11-26 Thread Thiago Mello
Hi all, I want to use in my application a DB in memory, I know that to use this, when I open my DB I have to do: sqlite_open(":memory", 0, &z); To open a DB that is not in memory, in the shell I do: SQLite/bin/sqlite BD But if I whant to this in a ":memory" DB, how can I proceed? Thanks in ad

Re: [sqlite] Storing pictures

2003-11-26 Thread D. Richard Hipp
Dennis Volodomanov wrote: > > Can someone please tell me what's the best way to store small pictures > (100x100 pixels, about 3-4K in size) in a sqlite database? I've tried using > sqlite_decode(encode)_binary, but they don't work all the time and return a > "malformed encoding" from time to time (

[sqlite] Storing pictures

2003-11-26 Thread Dennis Volodomanov
Hello all, Can someone please tell me what's the best way to store small pictures (100x100 pixels, about 3-4K in size) in a sqlite database? I've tried using sqlite_decode(encode)_binary, but they don't work all the time and return a "malformed encoding" from time to time (I've spoke to Jim Lyo