Frank Jiang
2004-01-08 01:32:07 UTC
I am stuck at this isnull function.
I am using OLEDB jet 4.0 access Access tables. I execute
SQL statement in VB.net.
I am trying to do this in code which I can do in T-SQL.
select isnull(total, 0) from sometable
It doesn't work. In OLEDB jet 4.0 isnull(exp) return 0/-1
which is totally different function. I read that OLEDB
jet 4.0 take SQL-92 standard. So I tried coalesce(exp,
exp, exp..) which is SQL-92 statement and it didn't work
either.
Is there any reference I can check what functions are
available for OLEDB jet 4.0?
Frustrating.
Frank
I am using OLEDB jet 4.0 access Access tables. I execute
SQL statement in VB.net.
I am trying to do this in code which I can do in T-SQL.
select isnull(total, 0) from sometable
It doesn't work. In OLEDB jet 4.0 isnull(exp) return 0/-1
which is totally different function. I read that OLEDB
jet 4.0 take SQL-92 standard. So I tried coalesce(exp,
exp, exp..) which is SQL-92 statement and it didn't work
either.
Is there any reference I can check what functions are
available for OLEDB jet 4.0?
Frustrating.
Frank