Is there a way to recall import/export utilities of SQL Server programmatically.
In my web-app I’d like to import/export data from some database tables to CSV and viceversa simply using SQL Server tools.
Is it possible?
Is there a way to recall import/export utilities of SQL Server programmatically. In my
Share
You can run BCP commands from your web applications which can be used to to import the data from sql server table to a csv file and then export the data from csv to table .
To export the data from sql table to a text file
To load the data from flat file to a table