I am having trouble in my second WHERE clause. I don't have the right syntax for the property I want to exclude, but I don't know how to find the correct one.
SELECT * FROM dbo.AlertLog
WHERE LogDateTime BETWEEN Convert(DATETIME, '2/1/2015') AND CONVERT(DATETIME, '2/11/2015')
WHERE ActionType <> "AlertReset"
ORDER BY LogDateTime DESC;
I've tried <>, != and /= and "AlertReset" "Alert Reset" AlertRest 'AlertReset' 'Alert Reset'
Please help,
Lance