{{tag>Function Function_List Text}} ====== AS_SQL ====== ===== Description ===== Use only in queries. The text is passed to the database as literal SQL instead of being interpreted as a Rule Language value ===== Syntax ===== ''AS_SQL (text)'' ===== Parameters ===== Attribute of the Plain Text type or string constant or calculation producing text ===== Returns ===== **Text**: the original text, which the query uses as SQL ===== Related ===== [[ref:a_f:f:af:exec_spf|EXEC_SPF]], [[ref:a_f:f:af:as_string|AS_STRING]], [[ref:a_f:f:af:eval_string|EVAL_STRING]]