@InêsMaximianosurahyaseenpdf wrote: I have a column named Cod_Sale, which should only be either null (there's no sale) or the code all in UpperCase Letters. Example: Cod_Sale IN (PRIM, SEC, THIRD, UP) ... etc, each month we can receive new Codes I have to remove all data that don't have a sale cod, meaning Cod_Sale <> "". However, when I do this it also selects some value that have Cod_Sale = "". I tried the functions compress, spit and trim to see if it had any blanks, but it still doesn't work. Even if I select compress(Cod_Sale) <> "" or split(Cod_Sale) <> "" or trim(Cod_Sale) <> "" it still selects data with Cod_Sale in blank! Can you please help me? To filter out invalid entries and keep only uppercase Cod_Sale values, try using the UPCASE function to ensure the code is uppercase and not blank.
... View more