NextPrevUpTopContentsIndex

18.5.1.4 Enclosing literal SQL

Literal SQL statements can simply be enclosed in the square bracket syntax, as shown below.

["SELECT FOO, BAR FROM BAZ"]
-> #<SQL "SELECT FOO, BAR FROM BAZ">
[select [*] :from [tbl]]
-> #<SQL-QUERY "(SELECT * FROM TABLE)">
[person surname]
->#<SQL-IDENT "PERSON.SURNAME">
[> [foo] 37]
->#<SQL-RELATIONAL-EXP "(FOO > 37)">

LispWorks User Guide - 7 Jul 2004

NextPrevUpTopContentsIndex