I need a stored procedure that does the following;
1) Takes 3 parameters (plant[varchar], mill[varchar], pressure[float])
2) if pressure is less than 5
2.1) find row where plant, mill equal parameters and cycle is null
2.1.1) if rows count returned = 1 then
188.8.131.52) update row's cycle column by taking the decimal hours difference between ...
Skills: sql, sql server