Insert local .csv data in remote SQL Server via already working connection string

At this point in your code you have only connected to your database. Please look at an example here in stackoverflow that may help you to see what your next steps could be (it refers to MySQL but it is still instructive):

Perl inserting into MySQL DB

Also, I would recommend what user Matt Jacob mentions in his comments and also the book “Programming the Perl DBI: Database programming with Perl” by Tim Bunce and Alligator Descartes.

HTH

Leave a Comment