ENABLE-SQL-READER-SYNTAX
Prev | The Symbolic SQL Syntax | Next

## Name

ENABLE-SQL-READER-SYNTAX — Globally enable square bracket reader syntax.Macro

## Syntax

          enable-sql-reader-syntax =>

## Arguments and Values

None.

## Description

Turns on the SQL reader syntax setting the syntax state such that if the syntax is subsequently disabled, `restore-sql-reader-syntax-state` will enable it again.

## Examples

None.

## Side Effects

Sets the internal syntax state to enabled.

Modifies the default readtable.

### Warning

CLSQL tries to keep track of whether the syntax has already been enabled. This can be problematic if the syntax is somehow disabled externally to CLSQL as future attempts to enable the syntax will do nothing--the system thinks it is already enabled. This may happen if there is an enable, but no disable, in a file that is processed with load or compile-file as the lisp implementation will restore the readtable on completion. Or, even if there is a disable but a compiler-error is encountered before running the disable. If you encounter this try running `disable-sql-reader-syntax` a couple times in the REPL.

See `file-enable-sql-reader-syntax` for an alternative.

## Affected by

None.

## Exceptional Situations

None.

## See Also

`disable-sql-reader-syntax`
`locally-enable-sql-reader-syntax`
`locally-disable-sql-reader-syntax`
`restore-sql-reader-syntax-state`
`file-enable-sql-reader-syntax`

## Notes

The symbolic SQL syntax is disabled by default.

CLSQL differs from CommonSQL in that `enable-sql-reader-syntax` is defined as a macro rather than a function.

Prev | Up | Next
The Symbolic SQL Syntax | Home | DISABLE-SQL-READER-SYNTAX