Every night a backup is made from a production server (which I cannot access) to an azure blob store each night, I am using SQL Server 2016 in an Azure VM to restore that .bak to extract data for reporting purposes.
How do I identify the name of the latest .bak
file from my blob store to automatically restore?
One way is I can use the rest API to get a list of blobs in a container but how can I get the results of that in SQL without 3rd party plugins.