Forum OpenACS Q&A: Re: Getting the SQL from the .XQL

Collapse
Posted by Dave Bauer on
You can use the db_map procedure.

set sql_fragment [db_map sql_fraq ""]

And then put the part of the sql into either the generic XQL file or the database specific ones.