Oracle 中,空字符串存入到Oracle中会自动转换为NULL,另外VARCHAR2把空串等同于null处理。

SQL> select 1 from dual where null=null;  没有查到记录  
SQL> select 1 from dual where null='';  没有查到记录  
SQL> select 1 from dual where ''='';  没有查到记录  
SQL> select 1 from dual where null is null; 

 

相关文章:

  • 2022-12-23
  • 2021-04-05
  • 2021-12-04
  • 2021-07-24
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案