当前位置: 代码迷 >> Sql Server >> 帮忙把一句sql求id最大值转换成access解决办法
  详细解决方案

帮忙把一句sql求id最大值转换成access解决办法

热度:39   发布时间:2016-04-24 20:04:37.0
帮忙把一句sql求id最大值转换成access
帮忙把sql转换成access
SQL:select isnull(max(ArticleId),0) as newIDValue from Article
ACCESS:? 

------解决方案--------------------
try this,

select iif(isnull(max(ArticleId)),0,max(ArticleId)) as newIDValue from Article
  相关解决方案