[Tutor] Python sqlite3 issue

Alan Gauld alan.gauld at btinternet.com
Thu Oct 23 01:51:39 CEST 2014


On 22/10/14 23:30, Juan Christian wrote:

> The only thing left now is that the topics in this forum has a one/two
> weeks lifespan, and I think Steam reuses the same ID for new topics that
> was used in, lets say a 1 month-old topic

In that case I'd go back to using a primary key ID set by SQLite and 
have a specific field for SteamID. Then you can have multiple Steam IDs 
but still have a unique ID for your records.

You might need a date field as well to distinguish/sort the various 
topics with similar IDs.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list