Can a table have two primary keys?

Answer Posted / rahul khanke

primary key is only and only one in a table.
it may be in more column in table means
In one table --one primary key and more than one column on
the same table

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long will it take to learn pl sql?

689


What is an exception in pl/sql?

725


Can we perform dml on view?

737


Do foreign keys improve performance?

748


what is a foreign key ? : Sql dba

786






what is recursive stored procedure? : Sql dba

714


What does := mean in pl sql?

756


what are the differences among rownum, rank and dense_rank? : Sql dba

742


How to add, remove, modify users using sql?

743


First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.

1334


what is the difference between rownum pseudo column and row_number() function? : Sql dba

810


How can the performance of a trigger be improved?

774


What are the events on which a database trigger can be based?

817


What is an example of translating a date into julian format?

775


What is attribute indicator in pl sql?

719