Ok,
Trying your example: ${SQL:SELECT Value FROM CustomPollerStatusTable INNER JOIN CustomPollers ON CustomPollerStatusTable.PollerID = CustomPollers.CustomPollerID WHERE UniqueName = 'GBAvailable' AND UniqueID= ''' & ${UniqueID} & '''}
The result was: ${SQL:SELECT Value FROM CustomPollerStatusTable INNER JOIN CustomPollers ON CustomPollerStatusTable.PollerID = CustomPollers.CustomPollerID WHERE UniqueName = 'GBAvailable' AND UniqueID= ''' & $@UniqueID@ & '''}
As you can see is converting the {} into @@
Tried other combinations using single quotes like:
UniqueID=''${UniqueID}''
UniqueID='''${UniqueID}'''
With the same negative results.