Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Primary Key ....
Dear Faculties,
Here I have created a table in two manner ..
Table created.
SQL> Alter table Test add constraint UK_Con Unique(PK);
Table altered.
Here Number of contraints is TWO.
SQL> create table Test
2 (
3 PK number(10,0) primary key,
4 Name varchar(10)
5 );
Table created.
Here Number of contraints is ONE.
![]() |
![]() |