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

"Invalid objects" check fails with cross database calls #13

Open
toepoke opened this issue Apr 3, 2020 · 0 comments
Open

"Invalid objects" check fails with cross database calls #13

toepoke opened this issue Apr 3, 2020 · 0 comments

Comments

@toepoke
Copy link

toepoke commented Apr 3, 2020

When running the "Invalid objects" check if a proc (for instance) references an entity on another database (on the same server) the reference is considered invalid/missing.

Consider:

  • DatabaseA
    • Tables
      • MyTable1
  • DatabaseB
    • Procs
      • MyProcB
        begin
        select * from DatabaseA.dbo.MyTable1
        end

When running the "Invalid objects" test the above will fail as no reference to "MyTable1" will be found in the "DatabaseB" database.

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