标签:div for rsh reac 引用 value shell server-u val
$database = ‘foxdeploy‘ $server = ‘.‘ $table = ‘dbo.powershell_test‘ Import-CSV .\yourcsv.csv | ForEach-Object {Invoke-Sqlcmd ` -Database $database -ServerInstance $server ` -Query "insert into $table VALUES (‘$($_.Column1)‘,‘$($_.Column2)‘)" }
标签:div for rsh reac 引用 value shell server-u val
原文地址:https://www.cnblogs.com/wpsl5168/p/9092693.html