摘要:
出处:http://blog.sina.com.cn/s/blog_407d47e60100d8ig.html前段时间写Oracle存储过程就遇到问题.原来写成这样if 1=2 thennull;elseif 1=3 thennullend if;在PL/SQL编辑环境下elseif没有变色,说明不是关键字。后来改成if 1=2 thennull;else if 1=3 thennullend if;编译时报异常。去goole上百度了下,很多人都说是 elseif。又试了N边,编译总不能通过。怒了,直接写成if 1=2 thennull;else if 1=3 thennullend if;e 阅读全文