meta data for this page
  •  

CLOSE CONNECTION

Please note that this function is deprecated. Please use ibec_CloseConnection instead.


Closes an existing connection.

Syntax

CLOSE CONNECTION connection;
Argument Description
connection Name 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