A. IF T_ORD_LAST_TAG_NO != EACHROW.ORD_TAG_NO THEN
B. IF T_ORD_LAST_TAG_NO <> EACHROW.ORD_TAG_NO THEN上面AB两种情况 就是 != 和 <> 
为什么在PL/SQL里都能正常编译和运行
注意,我这里不是在SQL语句里, 而是在逻辑判断搞不清楚啊, 这种判断应该 用!=啊, 为什么 <> 也可以的?本人刚学,请知道的说一声啊

解决方案 »

  1.   

    这是PL/SQL User's Guide and Reference关于关系操作符的说明Relational Operators
    The following table lists the relational operators with their meanings.Operator            Meaning 
    =                   equal to 
    <>, !=, ~=, ^=      not equal to 
    <             less than 
    >                   greater than 
    <=                  less than or equal to 
    >=                  greater than or equal to