Files
WinStudentGoalTracker/db/Objects/procedures/sp_Student_GetById.sql
T
ivan-pelly b6b058f05e Latest
2026-02-27 18:29:11 -08:00

18 lines
363 B
SQL

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