Added persistent prompt to student progress report

This commit is contained in:
ivan-pelly
2026-04-10 15:31:56 -07:00
parent d4a580ffae
commit b287276ec0
21 changed files with 606 additions and 11 deletions
@@ -0,0 +1,17 @@
DELIMITER ;;
CREATE DEFINER=`root`@`%` PROCEDURE `sp_ReportPrompt_GetByReportname`(
IN p_reportname CHAR(100),
IN p_id_program CHAR(36)
)
BEGIN
SELECT
`id_report_prompt` AS `reportPromptId`,
`id_program` AS `programId`,
`prompt` AS `prompt`,
`reportname` AS `reportname`
FROM `ReportPrompt`
WHERE `reportname` = p_reportname
AND `id_program` = p_id_program
LIMIT 1;
END;;
DELIMITER ;