mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
Added persistent prompt to student progress report
This commit is contained in:
@@ -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 ;
|
||||
Reference in New Issue
Block a user