SQL vs PL/SQL

in #steemid7 years ago

download.jpeg
SQL, that is abbreviated from Structured Query Languages, is a data oriented language for selecting and operating sets of data. SQL is commonly used by relational database technologies such as Oracle, Microsoft Access, Sybase etc. The term, PL/SQL is a procedural extension of SQL. It is the Oracle native programming language that provides an edge to design database-centric application. Both SQL and PL/SQL languages are designed with a common purpose, to access data within Oracle databases, but PL/SQL is designed to address the limitation of SQL because it cannot be used to manipulate procedural programming with conditional, iterative and sequential statements. To work with PL/SQL, the users normally interact with an application that uses SQL to access a relational database on the back-end.

SQL is widely popular as data oriented language for selecting and executing the sets of data. It is differentiated from the PL/SQL in relation to its capability to create applications that may be the source of data for your screens, web pages and reports while PL/SQL, known as a procedural language, might be used to create format and display those screens, web page and reports that are designed with the help of SQL. It also acts as an application language like Java or PHP can.

The commands and instructions used in SQL aren’t actually a part of the SQL standard but are supported by the tools of SQL and are usually executed to assist format output like BREAK, BTITLE, COLUMN, PRINT or they are meant to create or store data/scripts. It also supports the commands that directly interact with the database to perform the SHUTDOWN, CONNECT or COPY actions. PL/SQL is also known as fourth-generation programming language because of its ability to support the data encapsulation, overloading, collection types, exceptions, and information hiding functions. PL/SQL also offers rapid prototyping and use variables and their declarations, conditional controls like IF and CASE used in other programming languages like C, C++, Java, etc. It also uses looping structures such as LOOP, FOR LOOP and WHILE LOOP.

Another advantage of using PL/SQL is its fast execution speed because it passes a block of statements to be executed to the server, whereas in SQL, only one statement is transferred to the server at a time which is a time consuming process.download.jpeg

Sort:  

Uhmm! You have to be careful with cheetah tho. It haunted my posts and i know the reason now.

Congratulations you have been upvoted because you left a post in the NewbieResteem Discord Chat channel post Promotion Box.

When utilizing an article from the internet posted elsewhere, you need to be very careful of plagiarism. @cheetah bot is the first warning that something may be wrong. You need to provide a source of where the information came from, even if it is an article that you had previously posted somewhere on the internet.

If the article is not yours then you should not post the whole thing without the original authors permission. Provide some words of your own, and then portions of the article to educate and grab peoples interest in the subject, then provide them with a link to the original post.

We invite you to use our tag to connect with more of our members. To learn more visit: Come Join Us!!! (Newbie Resteem Initiative)


Lots of votes made possible due to the kindness of abh12345 and his Steemit Curation Leagues

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 67844.42
ETH 2429.36
USDT 1.00
SBD 2.35