What's the correct way to format this SQL statement? I'm attempting to convert a celsius value to fahrenheit to include it in the alert message and NPM Event Log. Thank you!!
${SQL:Select CASE ${SensorUnit} WHEN 'Celsius' THEN (${SensorValue} * 9 / 5) + 32 ELSE 0 END}
I get this error .... MACRO SQL ERROR - incorrect syntax near '*'
Does it think I'm trying to do a SELECT * statement?
btw, I'm not sure if the SensorUnit will contain 'Celsius'
search fields: alert, asterisk, multiply, multiplication