logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Explain Check constraint.


  • Correct Answer
  • Oracle check constraint is used to ensure that before inserting the data in the database, it is validated and checked for the condition Example: Below, the constraint is that the id has to be between 0 and 1000 create table employee ( id number check (id between 0 and 1000), Name varchar(200) ); 


  • Technology problems


    Search Results


    • 1. What are the types of constraints avaialable in oracle?
    • Discuss
    • 2. How to recover a dropped table?
    • Discuss
    • 3. How to Add a new column to an existing table?
    • Discuss
    • 4. What is AFIEDT.BUF?
    • Discuss
    • 5. What are the basic SQL*Plus commands?
    • Discuss
    • 6. Explain Not Null constraint.
    • Discuss
    • 7. Explain primary key constraint.
    • Discuss
    • 8. Explain foreign key constraint.
    • Discuss
    • 9. Explain unique Constraint.
    • Discuss
    • 10. Explain how to limit the rows that are retrieved by a query.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment