To move data from Yandex Metrika to Microsoft SQL automatically, use a ready-made scenario — no manual exports.
You can launch this Yandex Metrika + Microsoft SQL integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.