The function enable-sql-reader-syntax
turns on square bracket syntax and sets the state so that restore-sql-reader-syntax-state will make the syntax enabled if it is subsequently disabled.
disable-sql-reader-syntax
locally-disable-sql-reader-syntax
locally-enable-sql-reader-syntax
restore-sql-reader-syntax-state
LispWorks User Guide and Reference Manual - 20 Sep 2017