Corretti errori di import
This commit is contained in:
parent
22f6432535
commit
803e6ae9dc
@ -6,7 +6,7 @@ $config = @{
|
||||
# DbHostOutput = "DATABASE_PDC_LOCALE"
|
||||
# DbHostOutput = "testbes.armundia.com"
|
||||
DbHostInput = "bfdskrepsei01c.sysfideuram.sysbancafideuram.it"
|
||||
DbHostOutput = "testbes.armundia.com"
|
||||
DbHostOutput = "DATABASE_PDC_LOCALE"
|
||||
DbName = "C6StampeCentralizzate"
|
||||
|
||||
# Directory di log
|
||||
|
@ -41,6 +41,7 @@ try {
|
||||
-Database $env:dbName `
|
||||
-Username $env:dbUser `
|
||||
-Password $env:dbPassword `
|
||||
-TrustServerCertificate `
|
||||
-Query $Query
|
||||
|
||||
if ($result) {
|
||||
|
@ -49,7 +49,7 @@ try {
|
||||
|
||||
# Get column names from CSV
|
||||
$columns = $data[0].PSObject.Properties.Name
|
||||
$columnList = $columns -join ","
|
||||
$columnList = ($columns | ForEach-Object { "[$_]" }) -join ","
|
||||
|
||||
# Process each row
|
||||
foreach ($row in $data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user