CLOSE DATABASE

Closes the current database connection created by a DATABASE instruction.

Syntax

CLOSE DATABASE

Usage

The CLOSE DATABASE instruction closes the current database connection opened by a DATABASE instruction.

The current connection is automatically closed when the program ends.

Example

MAIN
  DATABASE stores1
  CLOSE DATABASE
  DATABASE stores2
  CLOSE DATABASE
END MAINs