Can you import .CSV data into SQL Server using commands from Powershell 3 or 4?
问题 Is there a Powershell script for PowerShell version 3 or version 4 that allows you to import values from a .CSV file into a SQL table? I'm trying to figure out whether I can script a PowerShell job to import data, using enterprise Servers running older versions of PowerShell (It would be preferred if this can be done without importing any additional modules) (Nice to have, but not necessary) Also interested to know if there's a way to report the success or failure of that job, to a log file?