0% found this document useful (0 votes)
24 views

SQL Question

PL/SQL is an extension of SQL used to perform procedural logic. It allows for conditional control and variable declarations. There are three types of blocks in PL/SQL: anonymous, declarative, and named blocks. An anonymous block inserts numbers 1 to 10 excluding 6 and 8 into a table, commits the transaction, and selects the results to verify.

Uploaded by

Naglaa Mostafa
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

SQL Question

PL/SQL is an extension of SQL used to perform procedural logic. It allows for conditional control and variable declarations. There are three types of blocks in PL/SQL: anonymous, declarative, and named blocks. An anonymous block inserts numbers 1 to 10 excluding 6 and 8 into a table, commits the transaction, and selects the results to verify.

Uploaded by

Naglaa Mostafa
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

What Is PL/SQL? What are Benefits of it? What is the difference between three types of block in pl/sql?

Write a PL/SQL block to insert numbers into the messages table contain one field "results". a. b. c. Insert the numbers 1 to 10, excluding 6 and 8. Commit before the end of the block. Execute a SELECT statement to verify that your PL/SQL block worked. You should see the following output.

You might also like