SQL 2000中没有iif函数,可以使用case when then 例如: case when 性别 = '男' then '先生' else ‘女士' end
SQL中也没Nz函数,可以用isnull代替
例如
isnull(字段,0)