Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Nulls and Empty Strings

174513Nov 21 2002
I have an ODBC application whose backend has been changed from Access to Oracle. There is one particular query that is causing problems. The query contains a where clause with something like "field = ''" in it. This query is intended to pick up records where field is null. If the query was modified to "field is null," it would work. However, I cannot change the application.

Is there any way to configure the ODBC driver or something so that this query would work properly? I've tried defaulting the field to '', but Oracle is still treating it as null.

(What is really frustrating is that the application NEVER populates this field!)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2002
Added on Nov 21 2002
4 comments
708 views