logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Define PL/SQL sequences and write syntax for a sequence


  • Correct Answer
  • A sequence is a database object that is used to generate sequential number CREATE SEQUENCE seqname [increment] [minimum value][maximum value][start][cache][cycle] Nextval and currval lets us get the next value and current value from the sequence 


  • Technology problems


    Search Results


    • 1. What is a PL/SQL package? what are its Advantages ?
    • Discuss
    • 2. Explain how PL/SQL exceptions are raised.
    • Discuss
    • 3. Explain some of the commonly used Predefined PL/SQL Exceptions.
    • Discuss
    • 4. Define cursor attributes: %FOUND, %NOTFOUND, %ROWCOUNT, and %ISOPEN
    • Discuss
    • 5. What is a PL/SQL Record data type?
    • Discuss
    • 6. What does cache and no cache options mean while creating a sequence?
    • Discuss
    • 7. What is an Index? Explain how to create an Index.
    • Discuss
    • 8. Explain how to create users through SQL PLUS.
    • Discuss
    • 9. Could you explain the areas where tuning of database is required?
    • Discuss
    • 10. Oracle Server supports two different forms of replication: Basic and Advanced replication. Explain difference between these.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment