Kenneth Jules
08/04/2025, 3:01 PMCeligo AI
08/04/2025, 3:02 PMAI generated answer (using internal Slack threads):The where clause "RolePermissions.PermLevel <> 'None'" is pulling in records with the 'None' value because the operator "<>" is a SQL operator for 'not equal to'. This means that the query is looking for records where the PermLevel is not equal to 'None'. If you are still getting records with 'None' value, it could be due to a few reasons: 1. There might be a data inconsistency issue in your database. You might want to check if there are any null or empty values in the PermLevel field that might be interpreted as 'None' by your query. 2. The query might be case-sensitive. If the actual value in the database is 'none' (all lowercase) or 'NONE' (all uppercase), the query might not recognize it as equal to 'None' and thus include it in the results. 3. There might be leading or trailing spaces in the 'None' values in your database. In this case, ' None' or 'None ' would not be recognized as equal to 'None' by the query. To avoid these issues, you could modify your query to handle these edge cases. For example, you could trim the PermLevel values before comparing them to 'None', and you could use a case-insensitive comparison operator if your SQL dialect supports it. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
08/04/2025, 3:02 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799060225
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.792086422
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.790290654
Celigo AI
08/04/2025, 3:02 PM