Difference between revisions of "DBC()"

From Lianjapedia
Jump to: navigation, search
(Created page with '==Purpose== Function to return the name of the currently open database ==Syntax== DBC() ==See Also== ADATABASES(), ALIAS(), CLOSE DATABASES, DATABASE(), [[DBF()…')
 
 
(4 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
[[Category:Functions]]  
 
[[Category:Functions]]  
 
[[Category:SQL]]
 
[[Category:SQL]]
[[Category:Databases]]
+
[[Category:Database Functions]]
[[Category:Databases Functions]]
+

Latest revision as of 12:15, 4 February 2013

Purpose

Function to return the name of the currently open database

Syntax

DBC()

See Also

ADATABASES(), ALIAS(), CLOSE DATABASES, DATABASE(), DBF(), DBUSED(), DISPLAY SCHEMAS, DISPLAY STATUS, GETENV(), LIST SCHEMAS, LIST STATUS, OPEN DATABASE, SET FILECASE, SET SQL, USE, USED()

Description

The DBC() function returns the name of the currently open database or a null string if none is open.

Example

open database hr
? dbc()
hr
close databases