IF OBJECT_ID('tempdb..#lu_sensor_name_19') IS NOT NULL BEGIN DROP TABLE #lu_sensor_name_19 END CREATE TABLE #lu_sensor_name_19...