DataAnalyst86
Registered User.
- Local time
- Today, 06:28
- Joined
- Nov 3, 2017
- Messages
- 13
Hello All,
I'm running a very simple query where I only want the preferred address for a particular record. There is a Short Text field named "Preferred" populated with either "Y" or "N"
My query is as follows
Select *
FROM Table
WHERE Preferred = "Y";
---------------------------------------------
Why am I getting records in my results set where the Preferred = N?
I even tried
Select *
FROM Table
WHERE Preferred <>"N";
----------------------------------
Yet Preferred = N is still included in the results set. I want these excluded. How do I do so?
Thanks in advance for any help.
I'm running a very simple query where I only want the preferred address for a particular record. There is a Short Text field named "Preferred" populated with either "Y" or "N"
My query is as follows
Select *
FROM Table
WHERE Preferred = "Y";
---------------------------------------------
Why am I getting records in my results set where the Preferred = N?
I even tried
Select *
FROM Table
WHERE Preferred <>"N";
----------------------------------
Yet Preferred = N is still included in the results set. I want these excluded. How do I do so?
Thanks in advance for any help.