Files
WinStudentGoalTracker/db/Objects/procedures/sp_Student_GetById.sql
T
2026-02-20 20:10:46 -08:00

17 lines
356 B
SQL

DELIMITER ;;
CREATE DEFINER=`root`@`%` PROCEDURE `sp_Student_GetById`(IN p_id_student INT)
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;
utf8mb4_0900_ai_ci;;
DELIMITER ;