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'}