eliminazione utilizzo del db mums

This commit is contained in:
2018-03-29 21:35:54 +02:00
parent f12a30b1e8
commit 84e3bd28ee
2 changed files with 10 additions and 13 deletions

View File

@@ -16,8 +16,8 @@ my $password = 'laravel';
my $db_lar = 'ase_lar';
my $db_sp = 'ase_lar';
my $server = 'localhost';
my $db_name = "ase_mums";
my $table = "RAWDATA";
my $db_name = "ase_lar";
my $table = "RAWDATACOR";
my ( @CSVData, @sql );
my $outcount = 0;
my $outfilenum = 0;
@@ -81,14 +81,6 @@ sub writeOutSql {
@sql = ();
print SQLOUT "/* unlock table */\nUNLOCK TABLES;\n";
if ( $table eq 'RAWDATA' ) {
print SQLOUT "/* call stored procedure to copy in "
. $db_sp
. "*/\ncall "
. $db_sp
. ".CopyAndFill('$tn');\n";
}
close SQLOUT
or die( getTimeStamp("log")
. " - pid $$ >> Error in closing file "