From b08b43b04ec0df863bb35bcb64f6ea1cf89f01cf Mon Sep 17 00:00:00 2001 From: battilo Date: Sat, 24 Nov 2018 00:18:10 +0100 Subject: [PATCH] unsigned integer al posto di decimal nella query per estraz ftp --- LoadCSVData.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoadCSVData.pl b/LoadCSVData.pl index c8e6000..f0c384e 100644 --- a/LoadCSVData.pl +++ b/LoadCSVData.pl @@ -179,7 +179,7 @@ sub trxelab { speed, speed_local, acceleration, acceleration_local, T_node, water_level, pressure, load_value, AlfaX, AlfaY, calcerr from ElabDataView where UnitName = '$unit' and ToolNameID = '$tool' and updated_at > '$matlab_timestamp' - order by ToolNameID DESC, EventDate, EventTime, convert(`NodeNum`, decimal) DESC + order by ToolNameID DESC, EventDate, EventTime, convert(`NodeNum`, UNSIGNED INTEGER) DESC ) resulting_set into outfile '$fileelab' fields terminated by ',' optionally enclosed by '"' lines terminated by '\n'}