Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Naming Primary Key
Is there a way that you can assign a name to the primary key the same
way you can an index?
If I do:
alter table person add primary key(ssn);
create index lastname on person(lname);
select index_name from user_indexes;
Produces:
INDEX_NAME
Thanks, Stan. Received on Wed Mar 03 1999 - 14:40:29 CST