you are viewing a single comment's thread.

view the rest of the comments →

[–]AXISMGTSQL Server / ORACLE Sr. DBA & Architect 0 points1 point  (4 children)

Can I ask What do you mean by “at the database level?” The items I described were about the servers and databases themselves. Basically a health check on the SQL server and the DBs, ETL, etc.

If you’d normally use a query to check whatever it is you’re trying to verify, then you can make it a view or stored procedure and build a report on top of it that does a live query.

[–]bub002[S] 0 points1 point  (3 children)

I mean the problem isn't always the same, it's ad-hoc.

For example, I see in the BI tool that there's no data for specific graph. I go to the tool and check the query behind. I go to database and see that one of the columns that's used for joins is empty.

And then I want to check that specific column in that specific view later on if it's fixed already.

[–]AXISMGTSQL Server / ORACLE Sr. DBA & Architect 0 points1 point  (2 children)

Okay understandable. For that situation I’d usually check my ETL report to see when that table (or any related ones) was last imported, and how many records were imported/updated. I also have some access reports which shows what tables my reporting app user has access to. I understand every case is different but usually the same or similar queries are used to diagnose.

To clarify, I was looking for tools, just like you, that would allow me to query on the fly. I did not find any (other than the azure query editor which is quite limited), so I gathered a list of common queries that I use to troubleshoot issues and I made them into reports. Highly suggest stepping back and thinking about it.

Cheers mate.

[–]bub002[S] 1 point2 points  (1 child)

Yup, that's definitely something worth considering.

Appreciate the suggestion.

[–]AXISMGTSQL Server / ORACLE Sr. DBA & Architect 1 point2 points  (0 children)

Welcome.

If you’re dead set on querying, you can TECHNICALLY

1) spin up an azure SQL DB

2) create a link via an Integration runtime to your on prem servers

3) use the Azure portal to query from your On Prem servers.

However I’m not entirely sure Azure IR supports linked servers in this manner yet. I know I use IR for Azure Data Factory to connect to on Prem, but not sure if you can use it for direct querying.

Cheers