SQL
wuweiforever
这个作者很懒,什么都没留下…
展开
-
用oracle的merge实现mysql的replace into
Mysql中Replace into在Oracle中实现转载 2022-03-10 14:24:10 · 937 阅读 · 0 评论 -
Mysql使用总结
一、对null和空字符串的判断1.对null 的判断:--方法1:select * from user where name is not null;--方法2:select * from user where ISNULL(name)=02.对空字符串的判断:select * from user where LENGTH(trim(name))>0;3.在函数或者存储过程中判断是否为null 或者 空字符串SELECT id,name, CASE W.原创 2021-01-22 16:57:35 · 72 阅读 · 0 评论