Skip to content

Instantly share code, notes, and snippets.

@angelblasco
Last active April 27, 2024 03:11
Show Gist options
  • Select an option

  • Save angelblasco/dce082b99f12e5a2a31b12ecd824befd to your computer and use it in GitHub Desktop.

Select an option

Save angelblasco/dce082b99f12e5a2a31b12ecd824befd to your computer and use it in GitHub Desktop.
Plantillas PL/SQL
DECLARE
/* aqui van las variables */
BEGIN
/* estructura del programa, sentencias SQL */
EXCEPTION
/* manejo de excepciones */
END;
/* final del bloque */
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;
@angelblasco
Copy link
Author

Initial commit

@angelblasco
Copy link
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