$ 0 0 what did you try for that? you can use autoincrement property or you can write code in Oninsert trigger etc.