Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SqlWatch 5.0 : stored procedure usp_sqlwatch_internal_expand_checks - BUG/Error #435

Open
sozezzo opened this issue Jan 31, 2022 · 0 comments

Comments

@sozezzo
Copy link

sozezzo commented Jan 31, 2022

Describe the bug
The stored procedure "usp_sqlwatch_internal_expand_checks" have an error:

Msg 1011, Level 16, State 1, Procedure usp_sqlwatch_internal_expand_checks, Line 282 [Batch Start Line 0]
The correlation name 'cc' is specified multiple times in a FROM clause.

https://github.com/marcingminski/sqlwatch/blob/5.0/SqlWatch.Monitor/Project.SqlWatch.Database/dbo/Procedures/usp_sqlwatch_internal_expand_checks.sql

image

image

I think one table should be called 'cc' and the other 'c', but which one?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant