I am using vb.net and Access 2010 as the database (.accdb)
This works with MySQL:
SELECT user_id, username, first_name, middle_name, last_name,
CASE is_enable WHEN 1 THEN 'Yes' ELSE 'No' END
FROM tbl_user_accounts ORDER BY user_id
But when passed the same query to Access, I get the following error:
Unrecognized keyword WHEN.
So I assume that the CASE Statement is different in access, or does access has that function at all?
P.S.
is_enable is boolean