26 Jul
2012
26 Jul
'12
8:01 a.m.
On 26/07/12 12:41, Jenny Blunt wrote:
How do I go about comparing two attributes from an update request?
I have the following in my default conf. file:
update request { SQL-Location := "%{sql: SELECT xxx}" } update request { SQL-Location-Id := "%{sql: SELECT yyy }" }
if (SQL-Location != SQL-Location-Id ) { reject }
if (SQL-Location == "%{SQL-Location-Id}") { } Bare words on the right hand side of operators are either interpreted as dictionary values or string constants, not other variables.