摘要: https://blog.csdn.net/xyang81/article/details/51555473 https://www.cnblogs.com/mzli/p/12621422.html 阅读全文
posted @ 2020-12-25 15:43 chenzechao 阅读(64) 评论(0) 推荐(0)
摘要: -- 检查表的元数据是否有异常 -- 判断逻辑为如果表有记录,但table_rows为0则异常 select t2.table_name ,t1.cnt ,t2.table_rows ,case when t1.cnt = 10 and t2.table_rows = 0 then 1 else 0 阅读全文
posted @ 2020-12-25 15:41 chenzechao 阅读(170) 评论(0) 推荐(0)