Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good morning,
i need to load one table in qlikview using oposite sentence of like (Something like 'where field Not Like ...') because i need that my rows doesn´t have one number. if i need to load only rows with number 2 in any position i can write this:
load
*
from .... (qvd)
where pruebas like '*2*';
but i don´t know how to load all data that not contains number 2 in any position (for example load number 1, 3 ,4 etc.).
regards,
Diego Rueda
***********************************************************************************************************************************************************************
Buenos días,
Necesito cargar una tabla que no contenga cierto número en los registros, por ejemplo que ningun registro contenga el número 2 en ninguna posicion usando una sentencia opuesta al Like. Para el caso del Like (si quisiera traer el número 2 ) seria algo asi:
load
*
from .... (qvd)
where pruebas like '*2*';
pero no tengo claro como realizar la carga de todo lo opuesto al número 2 ( por ejemplo cargar todo lo que contenga el 1, 3, 4, etc.)
Agradezco su colaboracion.
Att,
Diego Rueda
Hi,
you can try with WildMatch() function.
Something like:
Where not WildMatch(FieldName,'2*');
Hope it helps
Regards
Giampiero
Hi try this:
WHERE NOT (pruebas like '*2*');
Hi,
Please find attachment of application,i taking id's those are having '2' in any position, keepchar function will be use full for you.
Regards