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

9 lines
231 B
SQL

DELIMITER ;;
CREATE DEFINER=`root`@`%` PROCEDURE `sp_Student_Delete`(IN p_id_student INT)
BEGIN
DELETE FROM student
WHERE id_student = p_id_student;
SELECT ROW_COUNT() AS rows_affected;
utf8mb4_0900_ai_ci;;
DELIMITER ;