Execute SQL queries on notebook

Hello everyone,

Is it possible to execute SQL queries on Dynatrace notebooks using the add code option?

If so, does anyone have any guide or example of doing so?

Thanks in advance

You could integrate with an external API via JavaScript and fetch - see Add code to a dashboard — Dynatrace Docs for details.

Hi @christian_kreuz,

And will there be any possibility to make the connection to any database (MySql, SQL Server, Oracle…) using this option?

Hi!

Our supported interface is HTTP(s) calls. Direct access to Databases is only possible only if the database-management-system offers you a HTTP/REST endpoint (or if you provide such an endpoint for your database yourself).

This is not specific to Dynatrace or functions though.