sql查询-如果字段为null时,用其他值代替

ISNULL(字段名,0) ";  // int
ISNULL(字段名,"") ";  // string

 

posted @ 2021-06-01 09:46  ꧁执笔小白꧂  阅读(648)  评论(0)    收藏  举报