Menu

oql filter and obsolte provider contracts

2022-12-29
2022-12-30
  • Andreas Moroder

    Andreas Moroder - 2022-12-29

    Hello,
    I have added list of contractsthat must be renewed in the next 60 days to my welcome page.

    SELECT ProviderContract AS c WHERE c.end_date < DATE_ADD(NOW(), INTERVAL 60 DAY)

    Now I would like to filter obsolete contracts. How can i do that?

    happy new year
    Andreas

     
  • Vincent @ Combodo

    SELECT ProviderContract AS c WHERE c.end_date < DATE_ADD(NOW(), INTERVAL 60 DAY) AND status != 'obsolete'

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.