Chapter 3: Global Variables

Global variables are system-defined variables updated by Adaptive Server on an ongoing basis. For example, @@error contains the last error number generated by the system.

To view the value for any global variable, enter:

select variable_name

For example:

select @@char_convert