Chris Jones wrote:



I probably should have made this more explicit, but in sqlite, every row has
a unique identifier named rowid, which exists even if it isn't explicity
declared in the schema, and I was depending on that.   If you declare a
PRIMARY KEY, then this replaces rowid.

A tiny correction: a column will not replace rowid unless it is
INTEGER PRIMARY KEY.

From the web page:

Specifying a PRIMARY KEY normally just creates a UNIQUE index on the corresponding columns. However, if primary key is on a single column that has datatype INTEGER, then that column is used internally as the actual key of the B-Tree for the table.

Gerry

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to