5 Replies Latest reply on Sep 25, 2014 4:04 PM by njoylif

    SQL web/report writer at odds over my query...

    rcannon

      I'm very new to SQL.  I've gotten the hang of it, but it's likely that this isn't a problem with solarwinds at all, but with my code.  That said, I'll explain.

       

      For each one of our alert categories we have 3 alerts, tiers 1 2 and 3.  I'm looking to make identical reports for each of those categories wherein I have a list of the fired alerts from the last 7 days, but in the event that more than one tier fired for the same node only the top tier is included.  This is to weed out unnecessary duplicates as when each tier is hit it's going to be relevant to the same event.

       

      So I got my queries together and working just fine in sql management studio.  They also work just fine in the legacy report writer.  However when I go to the web report to make a custom chart and select sql, then paste the same query over solarwinds tells me it is not a valid query.  I went looking around for somewhere that broke down what solarwinds considers valid, but I have had no luck finding something comprehensive enough to get me to the root of my problem.

       

      If anyone could help me out, or at least point me in the direction of a comprehensive guide of what solarwinds considers a valid query that would be appreciated.