我有以下场景: Iam正在使用PowerShell,并且必须将数据从.csv文件导入到SQL Server数据库上已经创建的表中。所以我不需要csv的标题行,只需要写数据即可。New-Object System.Data.SQLClient.SQLConnection$SQLCmd= $query
#Provide the open connection to the Command Object as a property
如果我调用函数,就会得到异常2020-08-19T09:25:33.4007345Z ##[error]PowerShellsqldatabasename; User ID = $sqlusername; Password = $sqlpassword; Connection Timeout=0"$SqlCmd= N