select if 1=1  then
return 1;
else
return 0;
end if;对着手册写的,哪写错了?