oracle中:=与=:的区别??

日期:2018-03-30 16:17:09 人气:1

oracle中:=与=:的区别??

:="是赋值语句 如: l_name :='sky';..."=" 是判断是否相等. 如: if 1=1 then...":" 是变量绑定 如: if :P_NAME ='sky' then... 变量绑定 是指在sql语句的条件中使用变量而不是常量。比如shared pool里有两条sql语句, select * from tab1 where col1=1; select * from tab1 where col1=
    A+
热门评论