Caché SQL Reference
DATABASE
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

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