Link to home
Start Free TrialLog in
Avatar of max_dub
max_dubFlag for Ireland

asked on

primary key vs unique index

I have 2 tables and i want to retrieve data from them and combine data to do some processing
I haven't made any column as PRIMARY yet ..

what is better to way do, shud i make col. as PRIMARY KEY in the tables separately or can i also make UNIQUE INDEX .. is unique index similar to making primary key ..




Avatar of max_dub
max_dub
Flag of Ireland image

ASKER

if i am not clear on question, please let me knw.. i am just getting to knw db's
ASKER CERTIFIED SOLUTION
Avatar of dqmq
dqmq
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PS. There is no additional overhead for the PK, just benefit.  
Avatar of max_dub

ASKER

thanks