There is no primary key in the table. There is no effect for the database that the table does not have explicit keys, because each row in the database has an implicit unique data point that Oracle uses for storage and some internal references. This is the ROWID pseudo-column. A ROWID is a piece of data that uniquely identifies each row in a database โ with some notable exceptions.
The following query in my database returns the specified data:
select rowid from user $ where rownum <= 5;
AAAAAKAABAAAAFlAAC
AAAAAKAABAAAAFlAAD
AAAAAKAABAAAAFiAAD
AAAAAKAABAAAAFlAAE
AAAAAKAABAAAAFlAAF
It is not necessary to have a key on the table. The Oracle10g database I just requested has 569 system tables that do not have primary or unique keys. This solution is for the database administrator and the developer how to create keys in the database tables. The developers of my project always create primary keys, regardless of their usefulness or reasonableness. As a database administrator, I only create keys where they make sense.
Yours faithfully,
Opus
source share