Hi,
I have tried several snippets of code and various measures to generate an alert with the proper information on remaining battery status for APC UPS's.
The code I have tried in SQL Management Studio gives a constant error on
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '{'.

The SQL query is-
Select Status From CustomPollerAssignment as Assignment, CustomPollerStatus as Status where Assignment.CustomPollerAssignmentID = Status.CustomPollerAssignmentID and Assignment.NodeID = ${NodeID} and Assignment.AssignmentName like 'Custom_Poller_Name'}
What am I doing wrong here? BTW I am not a SQL master.
Thanks,
jellis