Difference between revisions of "DATABASE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 24: | Line 24: | ||
[[Category:Databases]] | [[Category:Databases]] | ||
[[Category:Cursor Functions]] | [[Category:Cursor Functions]] | ||
+ | [[Category:Database Functions]] |
Revision as of 12:12, 4 February 2013
Contents
Purpose
Function to return the name of the currently open database
Syntax
DATABASE()
See Also
ADATABASES(), ALIAS(), CLOSE DATABASES, DATABASEEXISTS(), DBC(), DBF(), DBUSED(), DISPLAY SCHEMAS, DISPLAY STATUS, GETENV(), LIST SCHEMAS, LIST STATUS, OPEN DATABASE, SET FILECASE, SET SQL, TABLEEXISTS(), USE, USED()
Description
The DATABASE() function returns the name of the currently open database or a null string if none is open.
Example
open database hr ? database() hr close databases