-2

I need to filter an DB, but my selection is too big for the DBeaver that i'm using. Is it possible to make it different?

CustomersAffected IS NULL 
AND Node NOT LIKE 'CTA%' 
AND Node NOT LIKE 'OCO%' 
AND Node NOT LIKE 'SJC%' 
AND Node NOT LIKE 'MUA%' 
AND Summary NOT LIKE 'Device Not%' 
AND Summary NOT LIKE 'Wireless%' 
AND Description NOT LIKE 'CLI%'
RiggsFolly
  • 93,638
  • 21
  • 103
  • 149

1 Answers1

0

It can be compressed using REGEXP

CustomersAffected IS NULL
AND Node NOT REGEXP 'CTA|OCO|SJC|MUA'
AND Summary NOT REGEXP 'Device Not|Wireless'
AND Description NOT LIKE 'CLI%'
chaos505
  • 468
  • 3
  • 10