Corretti errori di import

This commit is contained in:
Gaetano Savo 2025-06-06 12:21:36 +02:00
parent 22f6432535
commit 803e6ae9dc
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -41,6 +41,7 @@ try {
-Database $env:dbName `
-Username $env:dbUser `
-Password $env:dbPassword `
-TrustServerCertificate `
-Query $Query
if ($result) {

View File

@ -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) {