mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
16 lines
422 B
SQL
16 lines
422 B
SQL
DELIMITER ;;
|
|
CREATE DEFINER=`root`@`%` PROCEDURE `sp_ReportPrompt_Update`(
|
|
IN p_id_report_prompt CHAR(36),
|
|
IN p_prompt TEXT,
|
|
IN p_reportname CHAR(100)
|
|
)
|
|
BEGIN
|
|
UPDATE `ReportPrompt`
|
|
SET
|
|
`prompt` = COALESCE(p_prompt, `prompt`),
|
|
`reportname` = COALESCE(p_reportname, `reportname`)
|
|
WHERE `id_ReportPrompt` = p_id_report_prompt;
|
|
SELECT ROW_COUNT() AS rowsAffected;
|
|
END;;
|
|
DELIMITER ;
|