mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 06:27:37 +00:00
added first controller and corresponding stored procedures.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
DROP PROCEDURE IF EXISTS sp_Student_GetById;
|
||||
DELIMITER $$
|
||||
|
||||
CREATE 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;
|
||||
END$$
|
||||
|
||||
DELIMITER ;
|
||||
Reference in New Issue
Block a user