Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Curso de Oracle PLSQL en español desde cero | condicional CASE, video(15)
Play lesson

Curso completo de Oracle PLSQL desde cero en Español para principiantes - Curso de Oracle PLSQL en español desde cero | condicional CASE, video(15)

Domina Oracle PLSQL desde cero: Aprende a crear, configurar y manejar bloques, variables, bucles, procedimientos almacenados y más con nuestro completo curso en español. Impulsa tu carrera en programación con contenido práctico y accesible.

4.0 (3)
21 learners

What you'll learn

Comprender y utilizar estructuras básicas de PLSQL como bloques, variables y constantes
Implementar y manejar bucles, condicionales y estructuras de control en PLSQL
Configurar y utilizar triggers, procedimientos almacenados y funciones en PLSQL
Manejar datos JSON en PLSQL, incluyendo creación, lectura y transformación de archivos JSON

This course includes

  • 13 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

manejo de la condicional CASE en plsql CONTACTO:[email protected] COLABORACION: paypal.me/informaticonfig CODIGOS DE LA LECCION: create or replace function f_diasemana(numero int) return varchar2 is dia varchar2(25); begin dia:=''; case numero when 1 then dia:='Lunes'; when 2 then dia:='Martes'; when 3 then dia:='Miercoles'; when 4 then dia:='Jueves'; when 5 then dia:='Viernes'; when 6 then dia:='Sabado'; when 7 then dia:='Domingo'; else dia:='NO ES NUMERO CORRECTO'; end case; return dia; end; select f_diasemana(3) as "Día de la semana" from dual; ------------------------------------------------------------------------- create or replace function f_trimestre(fecha date) return varchar2 is mes varchar2(20); trimestre number; begin mes:=extract(month from fecha); trimestre:=4; case mes when 1 then trimestre:=1; when 2 then trimestre:=1; when 3 then trimestre:=1; when 4 then trimestre:=2; when 5 then trimestre:=2; when 6 then trimestre:=2; when 7 then trimestre:=3; when 8 then trimestre:=3; when 9 then trimestre:=3; else trimestre:=4; end case; return trimestre; end; select f_trimestre(to_date('07/07/2021','dd/mm/yyyy')) as TRIMESTRE from dual;

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere