I have a task - to make a universal import of data from Excel to sql database, using vba tools.
The main problem is that any users could download data regardless of their access rights to the databases. There are about 10 storages, but each of them has a xx \ Loader domain user, who has write rights to the tables.
The idea is that when connecting to the server, use the login login xx \ Loader, but I can’t find an option in the connection string that allows this. Please tell me how to do it. Alternative solutions will also be arranged. Thank!