Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

DATABASE (SQL)

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 ('').

Feedback