Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
bmql select best options when fields can be blank — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

bmql select best options when fields can be blank

Received Response
21
Views
6
Comments

Summary:

wondering if there is a way to find best record option when 3 of the fields can be blank meaning any input

Content (required):

we have a table that we use a large WHERE clause where 3 of the fields ar:

(Filed1 = X OR Field1 = NULL) AND (Filed2 = X OR Field2 = NULL) AND (Filed3 = X OR Field3 = NULL)

this might return 2 records

Field 1 = X Field2 Null Filed3 Null

Feld 1 Null Field2 Null Filed3 Null

so we would want the best selection where 1 of the fields was a match, or if for example 2 of the fields matched we would want that one...

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!