Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ne pas charger des données

Bonjour,

J'ai une base de données avec des appareils et des descriptions par appareil. Mon but est de ne pas charger toutes les descriptions car il y en a qui sont inutiles. J'aimerai donc ne pas les charger au moment de la requête.

J'ai les champs et la requête dans mon fichier ci-joint.

Cependant je n'arrive pas. J'ai essayé plusieurs méthode :

  • WHERE description IS NOT "Main d'oeuvre"
  • WHERE description LIKE NOT "Main d'oeuvre"
  • WHERE description -= "Main d'oeuvre"

Et encore d'autres. Mais rien ne passe.

Quelqu'un a une idée ?

Merci,

Karim

13 Replies
Not applicable
Author

That's right !

Thank you so much

But I have a last question.

If I have a  a << ' >> in the description. For example, Main d'oeuvre. How can I do that ?

maxgro
MVP
MVP

in sql server

if your << ' >> is a quote, add another quote

else don't change

Not applicable
Author

Sorry but I don't understand.

That's  my query :

SQL SELECT "N°",

    "Numero de rep",

    quantite,

    description

FROM "DB_OLD_SAV".dbo.details

WHERE "DB_OLD_SAV".dbo.details.description NOT LIKE '%oeuvre%';

And I would like to do that :

SQL SELECT "N°",

    "Numero de rep",

    quantite,

    description

FROM "DB_OLD_SAV".dbo.details

WHERE "DB_OLD_SAV".dbo.details.description NOT LIKE '%Main d'oeuvre%';



But It doesn't work because I have a quote (') in Main d'oeuvre. How can I do to let the quote ?

I try like that : WHERE description NOT LIKE '[%Main d'oeuvre%]' but it doesn't work.

Thank you

maxgro
MVP
MVP

<< '' >>

instead of

<< ' >>

WHERE description NOT LIKE  '%Main d''oeuvre%'