Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is PL/SQL and what is it used for?

PL sql Used
0
10 Posted

What is PL/SQL and what is it used for?

0

SQL is a declarative language that allows database programmers to write a SQL declaration and hand it to the database for execution. As such, SQL cannot be used to execute procedural code with conditional, iterative and sequential statements. To overcome this limitation, PL/SQL was created. PL/SQL is Oracle’s Procedural Language extension to SQL. PL/SQL’s language syntax, structure and data types are similar to that of Ada. Some of the statements provided by PL/SQL: Conditional Control Statements: • IF … THEN … ELSIF … ELSE … END IF; • CASE … WHEN … THEN … ELSE … END CASE; Iterative Statements: • LOOP … END LOOP; • WHILE … LOOP … END LOOP; • FOR … IN [REVERSE] … LOOP … END LOOP; Sequential Control Statements: • GOTO …; • NULL; The PL/SQL language includes object oriented programming techniques such as encapsulation, function overloading, information hiding (all but inheritance). PL/SQL is commonly used to write data-centric programs to manipulate data in a

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123