
存储过程的使用
SELECT CONCAT('你输入的月份为:', @input_month, '所属季度为:', @result) AS ResultMessage;WHEN @input_month >= 10 AND @input_month <= 12 THEN '第四季度'WHEN @input_month >= 1 AND @input_month <= 3 THEN '第一季度'AND name = 'p4' -- 替换为你的存储过程名称。type = 'P' -- 'P' 代表存储过程。









