<< USE connection | IBEBlock | CREATE DATABASE >>

CLOSE CONNECTION

Closes an existing connection.

Syntax

  CLOSE CONNECTION connection;
ArgumentDescription
connectionName of an existing connection opened with the CREATE CONNECTION statement.

Example

  execute IBEBlock
  as
  begin
    CREATE CONNECTION Con1 DBNAME 'localhost:c:\mydata\mydb.gdb'
    USER 'SYSDBA' PASSWORD 'masterkey'
    SQL_DIALECT 3 NAMES WIN1251;

    USE Con1;

    ...

    CLOSE CONNECTION Con1;
  end

See Also:
Joining tables from different databases

back to top of page
<< USE connection | IBEBlock | CREATE DATABASE >>