Last active
April 27, 2024 03:11
-
-
Save angelblasco/dce082b99f12e5a2a31b12ecd824befd to your computer and use it in GitHub Desktop.
Plantillas PL/SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DECLARE | |
| /* aqui van las variables */ | |
| BEGIN | |
| /* estructura del programa, sentencias SQL */ | |
| EXCEPTION | |
| /* manejo de excepciones */ | |
| END; | |
| /* final del bloque */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DECLARE | |
| /* definicion de un tipo de registro | |
| para almacenar la informacion comun | |
| a un tipo de estudiante */ | |
| TYPE t_StudentRecord IS RECORD ( | |
| StudentID NUMBER(5), | |
| FirstName VARCHAR2(20), | |
| LastName VARCHAR2(20)); | |
| /* declaracion de una variable de este tipo */ | |
| v_StudentInfo t_StudentRecord; |
Author
Author
Se añade ejemplo de registro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Initial commit