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

2003-12-01 Thread Christian Smith
On Wed, 26 Nov 2003, 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 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

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] 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

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