Re: [sqlite] savepoint

2012-01-17 Thread Csaba Jeney
Many thanks, it would help. Csaba 2012/1/16 Vivien Malerba <vmale...@gmail.com> > 2012/1/16 Csaba Jeney <csje...@genoid.hu> > > > Is there any way to query the valid savepoints? At least their names? > > Many thanks. > > > > > AFAIK, the only

[sqlite] savepoint

2012-01-16 Thread Csaba Jeney
Is there any way to query the valid savepoints? At least their names? Many thanks. Csaba This message is intended to be confidential and may be privileged. If you are not the intended recipient, please delete this e-mail from your system immediately and notify us of the erroneous transmission

Re: [sqlite] Subselect question

2008-11-02 Thread Csaba
it EventId, then you could do: SELECT t.*, u.* FROM TBOOKING AS t LEFT JOIN TBOOKING as u ON t.EventId=u.EventId WHERE t.EVENTTYPE+1=u.EVENTTYPE Csaba Gabor from Vienna On Mon, Nov 3, 2008 at 12:39 AM, Ingo Koch <[EMAIL PROTECTED]> wrote: > Hi, > > I've got a question con

[sqlite] Efficiency question about LIMIT

2008-07-13 Thread Csaba
, Csaba Gabor from Vienna ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Three LEFT JOIN issues

2008-07-03 Thread Csaba
On Thu, Jul 3, 2008 at 1:33 PM, Igor Tandetnik <[EMAIL PROTECTED]> wrote: > "Csaba" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] >> SELECT * FROM Words >> GROUP BY Id, Lang >> HAVING Rev=Max(Rev) > > This wouldn't do what

Re: [sqlite] Three LEFT JOIN issues

2008-07-03 Thread Csaba
> As this applies to my query, it would be: > SELECT * FROM Words > GROUP BY Id, Lang, Rev > HAVING Rev=Max(Rev) Drat. That Rev shouldn't be in the GROUP BY. The query I wanted to write is: SELECT * FROM Words GROUP BY Id, Lang HAVING Rev=Max(Rev) > Given that I have my Primary Key as (Id,

Re: [sqlite] Three LEFT JOIN issues

2008-07-03 Thread Csaba
On Tue, Jul 1, 2008 at 2:53 PM, Igor Tandetnik <[EMAIL PROTECTED]> wrote: > "Csaba" <[EMAIL PROTECTED]> wrote in > message news:[EMAIL PROTECTED] >> 1) In the following LEFT JOIN, is it possible to alter >> the query so that there is no w. prefix at the &

[sqlite] Three LEFT JOIN issues

2008-07-01 Thread Csaba
1) In the following LEFT JOIN, is it possible to alter the query so that there is no w. prefix at the beginning of each returned column name: SELECT w.* FROM Words AS w LEFT JOIN Words as w2 ON w.Id=w2.Id AND w.Lang=w2.Lang AND

Re: [sqlite] Structural detection of AUTOINCREMENT

2008-06-16 Thread Csaba
Thanks for your reply (and also thanks, Richard, for your reply about sqlite3_table_column_metadata) I've interspersed a few remarks, please see below. On Mon, Jun 16, 2008 at 4:50 PM, Dennis Cote <[EMAIL PROTECTED]> wrote: > Csaba wrote: >> Is there any way to detect, based stric

[sqlite] AUTOINCREMENT detection

2008-06-16 Thread Csaba
upon looking at: SELECT * FROM sqlite_master WHERE type='table' AND name='myTab'; PRAGMA table_info('myTab'); The following is empty: PRAGMA index_list('myTab'); so index_info does not seem relevant either. Thanks, Csaba Gabor from Vienna ___ sqlite

[sqlite] Structural detection of AUTOINCREMENT

2008-06-13 Thread Csaba
relevant either. Am I missing something? Thanks, Csaba Gabor from Vienna ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users