NAME
UnsetDbGlobal — Unset / delete a variable in the globals table.
SYNOPSIS
UnsetDbGlobal VarName
DESCRIPTION
Return Value
None.
Arguments
VarNameName of variable in the globals table.
More Info
You may wish to take a look at the documentation about the XxxDbGlobal commands: About XxxGlobal.

Check About Configuration for Database Use for info about how to set up Gen for using database-related commands.


For information regarding exceptions / errors, see here.
EXAMPLES

The code will (1) create a variable, (2) show that it can be found in the table, (3) unset it, (4) show that it can no longer be found.

% SetDbGlobal MyUnsetVariable 123
123
% puts "[QQ [SqlCountStatement globals {desc 'MyUnsetVariable'}]]"
1
% UnsetDbGlobal MyUnsetVariable
% puts "[QQ [SqlCountStatement globals {desc 'MyUnsetVariable'}]]"
0
SEE ALSO
DecrDbGlobal, GetDbGlobal, IncrDbGlobal, SetDbGlobal
KEYWORDS
sql