Files
WinStudentGoalTracker/db/Objects/procedures/sp_Student_GetById.sql
T
2026-02-21 08:01:29 -08:00

17 lines
346 B
SQL

DELIMITER ;;
CREATE DEFINER=`root`@`%` PROCEDURE `sp_Student_GetById`(IN p_id_student CHAR(36))
BEGIN
SELECT
id_student,
id_program,
identifier,
program_year,
enrollment_date,
expected_grad,
created_at
FROM student
WHERE id_student = p_id_student
LIMIT 1;
END;;
DELIMITER ;