tommy emmanuel:to b or not to b_曲乐网

sql中=和:=的区别

一、区别:sql中':='符号大全为对变量值求和;'='符号大全为if等必要条件判别中服用;下面为实列操作,1、编纂sql代码,declare  v1 varchar2(20);  v2 varchar2(20);begin  v1 := 10;  v2 := 20;    if v1 = 10 then      dbms_output.put_l