how to create a primary key with out creating an index?

Answer Posted / vinoth

ALTER TABLE EMP ADD CONSTRAINT EMP_PK PRIMARY KEY(EMPNO)
DISABLE;

Primary key constraint is created and no index is created
since the constraint is disabled initially.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are all the different normalizations? : Sql dba

599


what is the difference between delete and truncate statement in sql? : Sql dba

650


Is inner join same as self join?

693


what are the system privileges that are required by a schema owner (user) to create a trigger on a table?

719


What is aggregate function in sql?

645






How do I count rows in sql query?

583


What steps server process has to take to execute an update statement?

606


how to show all tables with 'mysql'? : Sql dba

714


What is procedure in pl sql?

615


What found sql?

604


What is cross join example?

641


what's the difference between a primary key and a unique key? : Sql dba

600


How much does a sql dba make? : SQL DBA

600


What are the types of queries in sql?

626


Can we debug stored procedure?

620