比如我想用mysql存储过程实现下面程序语句的功能
程序代码:
if()
{
if()
{
}else if()
{
}}else if()
{
}存储过程写法:
if ... then
if ... then
else if ... then
end if;
else if ... then
end if;这样写报错,求指教正确的应该怎么写?
程序代码:
if()
{
if()
{
}else if()
{
}}else if()
{
}存储过程写法:
if ... then
if ... then
else if ... then
end if;
else if ... then
end if;这样写报错,求指教正确的应该怎么写?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货