Aggiunti oggetti DB lettera benvenuto

This commit is contained in:
Gaetano Savo 2025-06-26 18:47:11 +02:00
parent d490127154
commit 79b6de0ab2
4825 changed files with 9444 additions and 1063 deletions

View File

@ -25,6 +25,15 @@ $DBBenvProd = @{
securePassword = "SEIReport"
}
# Database SEIReport Lettera benvenuto Collaudo
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '')]
$DBBenvColl = @{
sqlServerName = "bfdskrepsei02c.sysfideuram.sysbancafideuram.it"
databaseName = "SEIReport"
userName = "seireport"
securePassword = "seireport"
}
# Database C6StampeCentralizzate locale
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '')]
$DBStampeLoc = @{
@ -51,7 +60,7 @@ $config = @{
SqlDir = Join-Path (Split-Path -Path $PSScriptRoot -Parent) "sql"
}
$DBI = $DBStampeColl
$DBI = $DBBenvProd
$DBO = $DBStampeLoc
# Esporta le variabili come variabili d'ambiente
$env:dbHostInput = $DBI.sqlServerName

View File

@ -5,6 +5,11 @@
# Imposta il percorso di output nella cartella sql
$OutputPath = Join-Path $env:workdir "transito"
# Crea la directory transito se non esiste
if (-not (Test-Path -Path $OutputPath)) {
New-Item -ItemType Directory -Path $OutputPath -Force | Out-Null
}
# Carica l'assembly System.Data
Add-Type -AssemblyName System.Data

View File

@ -7,7 +7,7 @@ $logFile = Join-Path $env:logDir "${scriptName}.log"
"start" | Out-File -FilePath $logFile
# Imposta il percorso di output nella cartella sql
$OutputPath = Join-Path $env:workdir "transito\tables"
$OutputPath = Join-Path $env:workdir "transito\tabelle"
# Verifica che la directory di output esista, altrimenti la crea
if (-not (Test-Path -Path $OutputPath)) {

Some files were not shown because too many files have changed in this diff Show More