求助,请问在access里面的isnull怎么写?

sqla = "update C_User set C_Level = isnull(C_Level,0) + 1 where C_UserName = '" & writer & "'"
这个语句写上去就出错了 我的数据库是access,
请问下access里面怎么写能达到isnull函数一样的效果

ABOUTYOU
浏览 410回答 2
2回答

桃花长相依

isnull(表达式)你写 isnull(C_Level,0) 中的 ,0 去掉看看行不?

MMMHUHU

IIf(IsNull(C_Level),0,C_Level)
打开App,查看更多内容
随时随地看视频慕课网APP