The function disable-sql-reader-syntax
turns off square bracket syntax and sets state so that restore-sql-reader-syntax-state will make the syntax disabled if it is consequently enabled.
enable-sql-reader-syntax
locally-disable-sql-reader-syntax
locally-enable-sql-reader-syntax
restore-sql-reader-syntax-state
LispWorks User Guide and Reference Manual - 13 Feb 2015