docs.intersystems.com
Home  /  Application Development: Core Topics  /  InterSystems SQL Reference  /  SQL Functions  /  DATABASE


InterSystems SQL Reference
DATABASE
[Back]  [Next] 
InterSystems: The power behind what matters   
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 InterSystems IRIS, DATABASE always returns the empty string ('').