logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Explain unique Constraint.


  • Correct Answer
  • A unique constraint on a column uniquely identifies the record by a combination of one or more fields Few unique constraint fields can have a NULL value as long as the combination of values is unique Example: create table employee ( id number NOT NULL, dob DATE, professor_id NOT NULL, Name varchar(200) Constraint id_unique UNIQUE(id,dob) ); 


  • Technology problems


    Search Results


    • 1. Explain foreign key constraint.
    • Discuss
    • 2. Explain primary key constraint.
    • Discuss
    • 3. Explain Not Null constraint.
    • Discuss
    • 4. Explain Check constraint.
    • Discuss
    • 5. What are the types of constraints avaialable in oracle?
    • Discuss
    • 6. Explain how to limit the rows that are retrieved by a query.
    • Discuss
    • 7. What are joins? Explain its characteristic features .
    • Discuss
    • 8. What is correlated query? Explain its uses.
    • Discuss
    • 9. Define PL/SQL. Explain its purpose
    • Discuss
    • 10. What are the Advantages of PL/SQL?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment