久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      oracle怎樣判斷數(shù)據(jù)是否為空

      在oracle中,可以利用is關鍵字判斷數(shù)據(jù)是否為空,因為null在sql中被看作特殊符號,所以不能使用等號,語法為“select * from table where column is null”。

      oracle怎樣判斷數(shù)據(jù)是否為空

      本教程操作環(huán)境:Windows10系統(tǒng)、Oracle 11g版、Dell G3電腦。

      oracle怎樣判斷數(shù)據(jù)是否為空

      oracle判斷一個字段為空

      比如

      insert into table a (a1,b1)values("a1",'');

      對于這種情況,因為表里存的是'',其實是沒有內(nèi)容的,要查詢這個字段,不能直接使用

      select * from a where b1='';

      sql中判斷非空不能用等號,因為null在sql中被看作特殊符號,必須使用關鍵字 is和not

      應該如此使用:

      select * from A where b1 is null

      或者:

      select * from A where b1 is not null

      推薦教程:《Oracle教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號