Alexander wrote: > What I would like to do is compare the returned value with another one which represents my traffic quota in bytes: See "man unlang" In the "authorize" section, do: if ("%{sql: SELECT ...quota ...}" <= "%{sql:SELECT ... usage ...}") { reject } Alan DeKok.