x user diversi da asega forzo table = RAWDATACOR
This commit is contained in:
@@ -77,11 +77,15 @@ sub writeOutSql {
|
|||||||
print SQLOUT @sql;
|
print SQLOUT @sql;
|
||||||
@sql = ();
|
@sql = ();
|
||||||
print SQLOUT "/* unlock table */\nUNLOCK TABLES;\n";
|
print SQLOUT "/* unlock table */\nUNLOCK TABLES;\n";
|
||||||
print SQLOUT "/* call stored procedure to copy in "
|
|
||||||
. $db_sp
|
if ( $table eq 'RAWDATA' ) {
|
||||||
. "*/\ncall "
|
print SQLOUT "/* call stored procedure to copy in "
|
||||||
. $db_sp
|
. $db_sp
|
||||||
. ".CopyAndFill('$tn');\n";
|
. "*/\ncall "
|
||||||
|
. $db_sp
|
||||||
|
. ".CopyAndFill('$tn');\n";
|
||||||
|
}
|
||||||
|
|
||||||
close SQLOUT
|
close SQLOUT
|
||||||
or die( getTimeStamp("log")
|
or die( getTimeStamp("log")
|
||||||
. " - pid $$ >> Error in closing file "
|
. " - pid $$ >> Error in closing file "
|
||||||
@@ -332,6 +336,7 @@ if ( $db_name ne 'asega' ) {
|
|||||||
$db_sp = $db_name;
|
$db_sp = $db_name;
|
||||||
getUdbPwd();
|
getUdbPwd();
|
||||||
$db_lar = $db_name;
|
$db_lar = $db_name;
|
||||||
|
$table = "RAWDATACOR";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$db_name = 'ase_mums';
|
$db_name = 'ase_mums';
|
||||||
|
|||||||
Reference in New Issue
Block a user