>Hi Nadya
>
>Yes the key would be +/-16 chars. However, getting the harddisk serial number is a standard API call. Someone else has already given the code in another thread. The key could also be shortened in various ways. I just thought it was quite easy and removes the need to check the table (any table) for duplicates.
Do you know the thread number? I believe, the problem was discussed here, but I don't remember details.
Well, if luxury of 16 chars for PK is allowed, it's a valid approach, I guess. Hilmar will have a FAQ here soon. His tests indicated, what character PK work faster than Integer. I didn't run the similar tests, but it would be interesting to try to compare Integer vs. Character PK in speed.
If it's not broken, fix it until it is.
My Blog