Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: guid related ( repeat)
Just based on the length of the field, I'd prefer sequence generated unique values.
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
hi everybody ,
oracle provides guid function to generate unique ids . My question is should one use that guid for synthetic primary key ..So you no longer need a sequence for generating unique values . Is it faster to do a search on number comapred to varchar2 if it is indexed .
My just debating if i should use guid to for primary key .
-Bp
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Igor Neyman
INET: ineyman_at_perceptron.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jul 12 2002 - 15:43:40 CDT
![]() |
![]() |