怎么判断ID不存在的情况? - 技术问答

2025-02-25 08:05:55
推荐回答(1个)
回答1:

一般id 為主鍵 ,??不能為空的.select * from 數據表 where id = \'1\' ;如果返回為0 , 則id不存在 查看原帖>>