What I need is to be able to load the data of an Excel sheet to a table. I already tried with bcp. Also with Bulk Insert and finally enabled:
sp_configure 'show advanced options', 1;
RECONFIGURE;
GO
sp_configure 'Ad Hoc Distributed Queries', 1;
RECONFIGURE;
GO
And I tried to do it with: OPENROWSET
In no way I managed to do it, I only managed to insert a single record with special characters.
Before sending the query, visit many pages and nobody has an adequate solution for this.
I need to do it from a procedure and then automate it, so I do not use the wizard that I could surely do it in a few seconds.