mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 06:27:37 +00:00
Edit button locate, delete, group header
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
DELIMITER ;;
|
||||
CREATE DEFINER=`root`@`%` PROCEDURE `sp_Benchmark_Delete`(IN p_id_benchmark CHAR(36))
|
||||
BEGIN
|
||||
-- Remove progress-event/benchmark associations
|
||||
DELETE FROM progress_event_benchmark
|
||||
WHERE id_benchmark = p_id_benchmark;
|
||||
-- Remove the benchmark itself
|
||||
DELETE FROM benchmark
|
||||
WHERE id_benchmark = p_id_benchmark;
|
||||
SELECT ROW_COUNT() AS rows_affected;
|
||||
END;;
|
||||
DELIMITER ;
|
||||
Reference in New Issue
Block a user