Udjuni.com

udjuni.com search:




Introduction to Oracle PL/SQL


PL/SQL stands for Procedural Language/ SQL, and is a pretty sophisticated language used to access Oracle databases. It is integrated within the server environment to ensure smooth and fast execution of PL/SQL code or queries. The bigger part of this language is the SQL component (pronounced Es-queue-El) which a 4th generation language used to create, manipulate and remove data from a relational database. This language is called fourth-generation because it is much closer to the natural English language and mainly because the language describes what should be done and not how it should be done. Thus we tell the database what to do, but leave it up to its own built-in algorithm to decide how best to perform the required functions. For example:

SELECT firstname, lastname 
FROM students
WHERE age >= 18;


Issuing this simple query causes the database to return first and last names of all students whose age is 18 and higher. Not only does this query sound close to the natural language, it also has specific instructions on what rows to return and not how it should be done.

PL/SQL language structure


Just like other procedural languages such as C and COBOL, PL/SQL borrows some those characteristics and then combines those with characteristics of a fourth generation language. Thus PL/SQL has characteristics such as:

  • Variable and type declarations
  • Procedures and functions
  • Object types (Available in Oracle 8 and higher versions) and
  • Control structures such as LOOPS and IF-THEN-ELSE statements.


In the next few postings we will explore the PL/SQL language structure in detail.





RELATED ARTICLES:


Oracle Procedures, Functions and looping constructs
Procedures and functions in PL/SQL are types of blocks that are stored in the database in a compiled form. This is among the major differences between ordinary queries and procedures and functions (otherwise known as subprograms). Creating a function or procedure requires the u

Introduction to Accounting


Introduction to Operations Management
Operations management encompasses the process of how businesses produce goods and/or services. This involves responsibilities, activities and decisions of those tasked with managing production processes. Almost everything we use, eat or wear is made somewhere, possibly a manufacturing plant or simil

Introduction to HTML
HTML is a computer language used to create websites. The fact that you are looking at this page, means you are also looking at the outcome of html code. It is relatively easy to learn, with the majority of what you really need to know being readily available and for free on the internet.

Introduction to Programming
What exactly is programming? Programming can be defined as the art of telling a computer to do whatever you want it to. If you are reading this posting you probably started off with switching the computer on and then opened the browser that got you to this page. Every comp

Introduction to SQL
The term SQL stands for structure query language. It consists of a set of command that humans use to instruct a computer to store, modify and retrieve information. This posting and a few more to come will discuss the commands used to create/allocate storage space, how data is stored,

Introduction to Geometry
By definition geometry is considered to be the study of space, shapes and their configurations. Almost every one of us use geometry on a daily basis ranging from computer scientist, to engineers to less sophisticated and ordina

Photosynthesis and structure of leaves


Introduction to Accounting
Accounting can be defined as "a means of communication among all segments of the business". It provides reliable or at least relevant financial information useful for making business decisions. Main users of accounting information are external users such as investors and owners, cre

Choose a Structure


Did not find it? Try udjuni.com search:







© 2009 UdjunI LLC. All rights reserved | Privacy policy | Tutorial Index | RSS Feed