Unique value added

Guys,

I am trying to get unique numbers which i can use as a primary key in a table. I tried using the <seconds_since_epoch>.<hostname> combination but since more than one process can run on the same machine at the same time, this won't be unique either. Can anyone tell me another way to do this? Thanks.

Regards,
garric

<seconds_since_epoch>.<hostname>.<pid>

Thanks.. that works