Is there some way to have a unique key in a table? Like having this entry:
(Unique_Key,2143,"This is goooood")
and the Unique_Key specifices this entry uniquely.... For example the unique_key could be just the number of entries in the table at insertiontime. But is there a way to make MySQL find this key automatically when i insert a new post in the table?
(you could do this "by hand" by counting the entries in the table before you do the insertion, but Im kinda lazy. And you proberly get into all kinds of problems with "consistency". Ie. you have to lock the database when doing this.)