Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20958

Re: Advanced Alerts triggered with SQL and SW STRING variables

$
0
0

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.


Viewing all articles
Browse latest Browse all 20958

Trending Articles