Does MS Access support “CASE WHEN” clause if connect with ODBC?
问题 Does ODBC support CASE WHEN clause for MS Access? Is there any other database which does not support the CASE WHEN clause? I tried the following query while connecting to MS Access with ODBC but get an exception. SELECT (CASE WHEN (AGE > 10) THEN 1 ELSE 0 END) FROM demo [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression \'(CASE WHEN (AGE > 10) THEN 1 ELSE 0 END)\' I\'m try to find a common way which works for most of the database to generate (compute