use powershell and that script to export all data.
https://robertostefanettinavblog.com/2022/04/30/export-sql-data-to-csv-or-xml-file-via-powershell/
regards DFK-Consult
visit https://dfk-consult.at