unsigned integer al posto di decimal nella query per estraz ftp
This commit is contained in:
@@ -179,7 +179,7 @@ sub trxelab {
|
|||||||
speed, speed_local, acceleration, acceleration_local, T_node, water_level, pressure, load_value, AlfaX, AlfaY, calcerr
|
speed, speed_local, acceleration, acceleration_local, T_node, water_level, pressure, load_value, AlfaX, AlfaY, calcerr
|
||||||
from ElabDataView
|
from ElabDataView
|
||||||
where UnitName = '$unit' and ToolNameID = '$tool' and updated_at > '$matlab_timestamp'
|
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
|
) resulting_set
|
||||||
into outfile '$fileelab'
|
into outfile '$fileelab'
|
||||||
fields terminated by ',' optionally enclosed by '"' lines terminated by '\n'}
|
fields terminated by ',' optionally enclosed by '"' lines terminated by '\n'}
|
||||||
|
|||||||
Reference in New Issue
Block a user