How to use large SQL-query for %{sql:} clause?

Ivan Kalik tnt at
Tue Aug 25 10:42:24 CEST 2009

> I am needing to generate values of reply attributes via SQL. I am using
> `%{sql:SQL-query}` clause.
> I am inserting attribute/value pairs into radreply table, where value -
> `%{sql:}`-clause.
> But I had got complex and large queries. I don't want to increase size of
> fields of SQL-table.
> How I can solve this problem?

Just add them to the reply list without putting them into the table. Why
write them into the table and then read them from there?

Ivan Kalik
Kalik Informatika ISP

More information about the Freeradius-Users mailing list