Lesion 1 oracle

Páginas: 3 (669 palabras) Publicado: 28 de abril de 2011
Introduction to PL/SQL

Copyright © 2004, Oracle. All rights reserved.

Objectives

After completing this lesson, you should be able to do the following: • Explain the need for PL/SQL •Explain the benefits of PL/SQL • Identify the different types of PL/SQL blocks • Use iSQL*Plus as a development environment for PL/SQL • Output messages in PL/SQL

1-2

Copyright © 2004, Oracle. Allrights reserved.

What Is PL/SQL?

PL/SQL: • Stands for Procedural Language extension to SQL • Is Oracle Corporation’s standard data access language for relational databases • Seamlessly integratesprocedural constructs with SQL

1-3

Copyright © 2004, Oracle. All rights reserved.

About PL/SQL

PL/SQL: • Provides a block structure for executable units of code. Maintenance of code ismade easier with such a well-defined structure. • Provides procedural constructs such as:
– Variables, constants, and types – Control structures such as conditional statements and loops – Reusableprogram units that are written once and executed many times

1-4

Copyright © 2004, Oracle. All rights reserved.

PL/SQL Environment

PL/SQL Engine procedural PL/SQL Block SQL ProceduralStatement Executor

SQL Statement Executor Oracle Database Server

1-5

Copyright © 2004, Oracle. All rights reserved.

Benefits of PL/SQL

• •

Integration of procedural constructs with SQLImproved performance
SQL 1 SQL 2 …

SQL IF...THEN SQL ELSE SQL END IF; SQL

1-6

Copyright © 2004, Oracle. All rights reserved.

Benefits of PL/SQL

• • • •

Modularized program developmentIntegration with Oracle tools Portability Exception handling

1-7

Copyright © 2004, Oracle. All rights reserved.

Benefits of PL/SQL

1-8

Copyright © 2004, Oracle. All rights reserved. PL/SQL Block Structure

DECLARE (Optional) Variables, cursors, user-defined exceptions BEGIN (Mandatory) - SQL statements - PL/SQL statements EXCEPTION (Optional) Actions to perform when errors...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • marco teorico lesiones 1
  • ACTIVIDAD 1 lesion
  • actividad 1 atención al lesionado
  • taller # 1 paciente lesionado
  • EVALUACION DEL LESIONADO 1
  • Oracle 1
  • atencion al lesionado actividad 1 sena
  • atenciones basicas al lesionado semana 1

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS