community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of PL/SQL


Message boards   Post comment

PL/SQL

PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's proprietary extension of the SQL database language.

Since SQL is a declarative language, and unlike some functional programming languages the standard does not require implementations to convert tail calls to jumps or readily provide "first row" and "rest of table" accessors, SQL cannot easily perform some constructs such as loops. PL/SQL, however, is a Turing-complete procedural language which fills in these gaps, allowing Oracle database developers to interface with the underlying relational database in an imperative manner. SQL queries call PL/SQL functions through constructions such as triggers.

PL/SQL is analogous to the embedded procedural languages for other relational databases. Sybase and its derivative Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which tries to emulate PL/SQL to an extent), and Oracle can also use methods written in Java. Aside from some proprietary functions (notably Oracle's UTL_FILE package) PL/SQL code is nearly identical to Transact-SQL; conversions are simple if no proprietary features are used.

References

  • Steven Feuerstein (2002). Oracle PL/SQL Programming, 3rd ed. O'Reilly & Associates. ISBN 0596003811.
    (Considered by many to be the "bible" of PL/SQL development).

Referenced By

Stored procedure

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "PL/SQL".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.