Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

DATABASE

A scalar string function that returns the database name qualifier.

Synopsis

{fn DATABASE()}

Description

DATABASE returns the current qualifier for the name of the database corresponding to the connection handle. In Caché, DATABASE always returns the empty string ('').