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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

where

Hi community

I´m sure it´s something easy:

I need to load a partial table:



SQL

FROM

CTA_MAYOR NOT LIKE 'Z*';

`115_PGC_RELACIONADO`

WHERE

SELECT *

In SQL that sentence has sense, but here it doesn´t work. How could I do that?

Thanks, Fiber

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello,

You always have at least two ways of loading that information. First, passing all conditions to driver, as you have written above. Second, you can perform that where in the script

LOAD * WHERE LEFT(CTA_MAYOR, 1) <> 'Z'; SQL SELECT * FROM 115_PGC_RELACIONADO;


It depends on how heavy the query may result and later performance of your script.

Hope that helps

View solution in original post

3 Replies
Not applicable
Author

SQL SELECT *

FROM '115_PGC_RELACIONADO'

WHERE CTA_MAYOR NOT LIKE 'Z*'

Miguel_Angel_Baeyens

Hello,

You always have at least two ways of loading that information. First, passing all conditions to driver, as you have written above. Second, you can perform that where in the script

LOAD * WHERE LEFT(CTA_MAYOR, 1) <> 'Z'; SQL SELECT * FROM 115_PGC_RELACIONADO;


It depends on how heavy the query may result and later performance of your script.

Hope that helps

Not applicable
Author

Thank you, everything clear!!