|
I have an OR statement in my WHERE clause, but it keeps leaving out rows of information. I need this query to return all of the data to me, not leave out rows. There are accounts that may have a 900000 series account number, but I don't want those accounts. I want this query to return to me any account that we have under 900000, and if there is no account, I still want the rows back so that I can manually look for an account or create a new account for the address. Can anyone help? The WHERE clause is below:
(comments are locked)
|
|
You might try grouping your Here are a couple of WHERE options that will allow NULL KUNNR values into the results.
Oct 28 '11 at 11:58 AM
ThomasRushton ♦
(comments are locked)
|
|
I tried the 2 you gave me. Neither gave me the rows back that didn't have an account number. Here is the SQL in full. I don't know if it will help figure this out, but I'm hoping it does! KUNNR is SAP's name for account number, if you need that info as well. I really need to take a class in this.
(comments are locked)
|
Would that give you results?
(comments are locked)
|

