Loading...
Flash Player 9 (or above) is needed to view slideshows. We have detected that you do not have it on your computer.To install it, go here
Cap I Plsql
Declaracion de Variables PL/SQL
149 views | comments | 0 favorites | 7 downloads | 0 embeds (Stats)
More Info
This slideshow is Public
Total Views: 149 on Slideshare: 149 from embeds: 0
Slideshow Transcript
- Slide 1:UTPL -ORACLE UNIVERSITY
- Slide 2:PL/SQL, consiste de tres secciones:
DECLARE
………....
BEGIN
…………
EXCEPTION
…………..
END;
UTPL -ORACLE UNIVERSITY
- Slide 3:UTPL -ORACLE UNIVERSITY
- Slide 4:DECLARE
v_variable VARCHAR2(5);
BEGIN
SELECT column_name
NTO v_variable
FROM table_name;
EXCEPTION
WHEN exception_name THEN
……………..
END;
UTPL -ORACLE UNIVERSITY
- Slide 5:Toda sentencia termina con [; ] a excepción de las
palabras reservadas.
Siel bloque es ejecutado exitosamente sin errores
de manejo y compilación, aparece el siguiente
mensaje:
PL/SQL procedure successfully completed
END y todas las otras sentencias PL/SQL requieren un punto y
coma para terminar la sentencia.
Para mejorar la lectura y comprensión es útil usar tabulaciones
por s