My Oracle Support Banner

Ora-00923 Using A CASE WHEN Statement and DataAdapter.Fill (Doc ID 395216.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version: to
Microsoft Windows (32-bit)


Using a CASE WHEN statement with dataAdapter.Fill fails with the error:

"ORA-00923: FROM keyword not found where expected"

when executing SQL that contains a "CASE" statement.

Example of an invalid query:
  SELECT CASE object_name WHEN 'a' THEN 1 END FROM user_objects


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.