Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select Statement

I'm loading a number of fields form Lotus Notes using ODBC. After the load statement I have the following Select Statement:

SQL

FROM

"Administrator_Views_QlikView_Export" where LEASE_TERM <> '6' and CUSTOMER_ASSET_STATUS <> '6' AND (ASSET_TYPE = 'PC' OR ASSET_TYPE = 'Laptop');



SELECT *

FROM

"Administrator_Views_QlikView_Export" where LEASE_TERM <> '6' and CUSTOMER_ASSET_STATUS <> '6' AND (ASSET_TYPE = 'PC' OR ASSET_TYPE = 'Laptop');



SELECT *

SELECT *

FROM

"Administrator_Views_QlikView_Export" where LEASE_TERM <> '6' and CUSTOMER_ASSET_STATUS <> '6' AND (ASSET_TYPE = 'PC' OR ASSET_TYPE = 'Laptop');





The result unfortunately shows no sign of filtering. It is as if the Where part of the statement was not there. I get records whose asset types are neither PC or Laptop and that have Lease Terms = 6.



Don't SQL statements work to there full capicity when used in this context,

Labels (1)
1 Reply
Not applicable
Author

Hi,

can you paste the actual script please, and i'll take a look. What you have put here doesn't look as if it was taken from the script directly.
Thanks,

Matt