logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How can we call DDL statements like CREATE, DROP, TRUNCATE, etc. from PL/SQL?


  • Correct Answer
  • EXECUTE IMMEDIATE command can be used to call DDL statements Example: BEGIN EXECUTE IMMEDIATE 'TRUNCATE TABLE employee'; END; 


  • Technology problems


    Search Results


    • 1. How can we read and write operating system files from PL/SQL program?
    • Discuss
    • 2. Explain how to debug PL/SQL program.
    • Discuss
    • 3. Both PL/SQL and Java (or) .NET code can be used to create Oracle stored procedures and triggers. Which of the one should be used and why?
    • Discuss
    • 4. SQL vs. PL/SQL
    • Discuss
    • 5. What are the Advantages of PL/SQL?
    • Discuss
    • 6. What is a Collection? Explain collection types.
    • Discuss
    • 7. What is a PL/SQL Record data type?
    • Discuss
    • 8. Define cursor attributes: %FOUND, %NOTFOUND, %ROWCOUNT, and %ISOPEN
    • Discuss
    • 9. Explain some of the commonly used Predefined PL/SQL Exceptions.
    • Discuss
    • 10. Explain how PL/SQL exceptions are raised.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment