06 2022 档案

SQL Server 【坑】null
摘要:摘要 sql中null的判断有自己独特的逻辑,在写脚本需要注意或者设计表时必填项尽量设置为not null null的<>判断 --比较下面3个脚本的写法 select * from tb where col <> 3 select * from tb where col <> 3 or col i 阅读全文

posted @ 2022-06-29 21:03 杏村牧童 阅读(45) 评论(0) 推荐(0)

【Git】常用操作
摘要:复制某个分支的某个commit提交到其他分支上去 git log --找到某个commit的id git checkout --切换到要提交的分支 git cherry-pick id --复制提交到当前分支 git push 撤销commit git reset --soft head^ --上一 阅读全文

posted @ 2022-06-28 20:51 杏村牧童 阅读(30) 评论(0) 推荐(0)