1 May 2004 10:39
[sqlite] Explanation about ROWID requested
Hello, A few days ago I posted a question and I haven't seen any comments so far. I'm really curious about ROWID's volatility. How can I make sure that ROWIDs do not get re-initialized? I'm posting the message once again hoping that someone will explain how I should properly use ROWIDs. Thanks again. Best regards, -- Tito ************************************************************** Would this explanation about ROWID make sense?: > Referencing ROWID: If you make references to ROWID but then export > your database (using, for example, the ".dump" command of the sqlite > shell) and reimport it, all of your ROWIDs will change and your > references won't > be right any more. If you use an INTEGER PRIMARY KEY, the ".dump" > command will preserve the values and your references will not be > broken by the export. > > *** IMPORTANT ***: Please note that ROWID columns are always created > by SQLite, even if you don't specify it when creating the table via > CREATE TABLE. If this is the case and you do something like this: > > SELECT * FROM <some table> >(Continue reading)
If nobody is against
it, I can take care of the Wiki page. Is that OK with you?
I would like to thank everyone else that answered my post. I truly
appreciate it.
Best regards,
-- Tito
---------------------------------------------------------------------
To unsubscribe, e-mail:
RSS Feed